-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
Add DELETE, PUT method support to CORS filter.
Default of CORS filter support only GET and POST (http://software.dzhuvinov.com/cors-filter-configuration.html).
It needs to be updated to support DELETE and PUT. Therefore, the following setting needs to be added to web.xml
<filter>
<filter-name>CORS</filter-name>
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
<init-param>
<param-name>cors.supportedMethods</param-name>
<param-value>GET, POST, HEAD, PUT, DELETE</param-value>
</init-param>
</filter>