Uploaded image for project: 'DataWolf'
  1. DataWolf
  2. WOLF-21

Add DELETE, PUT method support to CORS filter

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0 beta 3
    • 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>

              jonglee Jong Lee
              jonglee Jong Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: