https://bz.apache.org/bugzilla/show_bug.cgi?id=61692

            Bug ID: 61692
           Summary: CGIServlet should handle additional HTTP methods, for
                    example MKCALENDAR, MKCOL, PROPFIND, PROPPATCH
           Product: Tomcat 9
           Version: 9.0.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jan0mich...@yahoo.com
  Target Milestone: -----

Created attachment 35474
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35474&action=edit
Allow additional HTTP methods by configuration

I am working on running Nextcloud (PHP web application) with the Tomcat
webserver.
Nextcloud serves different ressources with WebDAV, and that requires additional
HTTP methods.

Currently CGIServlet only handles the GET, POST, HEAD (and OPTIONS, TRACE) HTTP
methods.

In addition I have had to implement the following HTTP methods: DELETE
MKCALENDAR, MKCOL, PROPFIND, PROPPATCH, PUT, REPORT.
Because there are tons of other HTTP methods nowadays, I suggest to make the
whole think configurable. See for example
https://github.com/nextcloud/server/issues/6644
Alternatively, CGIServlet could just handle any HTTP method (that means just
forward the method string to the CGI script, without limiting to a pre
configured list).
Attached is a patch, that works fine for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to