servlet icon indicating copy to clipboard operation
servlet copied to clipboard

Support newer http methods eg PATCH

Open glassfishrobot opened this issue 11 years ago • 4 comments

RFC 5789 defines the method "PATCH". http://tools.ietf.org/html/rfc5789

Its semantics seem similar to POST or PUT in that it provides content to the server. However, section 3, pg 24 does not permit a web server to parse form-url-encoded content unless:

1. The request is an HTTP or HTTPS request. 2. The HTTP method is POST. 3. The content type is application/x-www-form-urlencoded. 4. The servlet has made an initial call of any of the getParameter family of methods on the request object.

Thus, the spec needs to be updated to accommodate methods like PUT and the newer PATCH.

glassfishrobot avatar Oct 22 '14 22:10 glassfishrobot

  • Issue Imported From: https://github.com/javaee/servlet-spec/issues/113
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @glassfishrobot

glassfishrobot avatar Jun 06 '18 08:06 glassfishrobot

@glassfishrobot Commented Reported by janbartel

glassfishrobot avatar Oct 22 '14 22:10 glassfishrobot

@glassfishrobot Commented This issue was imported from java.net JIRA SERVLET_SPEC-113

glassfishrobot avatar Apr 26 '17 06:04 glassfishrobot

I made a REST API and I really need the doPatch method on the Servlet API.

SuperPat45 avatar Sep 22 '22 12:09 SuperPat45

I think PATCH is the only one that is missing.

markt-asf avatar Feb 24 '23 17:02 markt-asf

Fixed by #507

markt-asf avatar Mar 01 '23 15:03 markt-asf