AbstractController supports HTTP OPTIONS
Issue: SPR-13130
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ public abstract class AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>
|
||||
|
||||
private final List<ResultHandler> globalResultHandlers = new ArrayList<ResultHandler>();
|
||||
|
||||
private Boolean dispatchOptions = Boolean.FALSE;
|
||||
private Boolean dispatchOptions = Boolean.TRUE;
|
||||
|
||||
private final List<MockMvcConfigurer> configurers = new ArrayList<MockMvcConfigurer>(4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user