Skip to content

Commit

Permalink
add PATCH verb to CorsEnablingDirective
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Nov 15, 2021
1 parent 0156a19 commit 210b7f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public final class CorsEnablingDirective {

private static final AccessControlAllowMethods ACCESS_CONTROL_ALLOW_METHODS =
AccessControlAllowMethods.create(HttpMethods.OPTIONS, HttpMethods.GET, HttpMethods.PUT,
AccessControlAllowMethods.create(HttpMethods.OPTIONS, HttpMethods.GET, HttpMethods.PUT, HttpMethods.PATCH,
HttpMethods.POST, HttpMethods.HEAD, HttpMethods.DELETE);

private final HttpConfig httpConfig;
Expand Down

0 comments on commit 210b7f7

Please sign in to comment.