RFE: Add PATCH to the list of the supported HTTP methods

Andrej Golovnin andrej.golovnin at gmail.com
Fri Mar 2 08:28:21 UTC 2018


Hi all,

it would be nice if could add PATCH
(https://tools.ietf.org/html/rfc5789) to the list of the supported
HTTP methods in the HttpURLConnection class.

I have attached two patches:

- one for the HttpURLConnection class:
  java_net_HttpURLConnection_PATCH_method.diff

- and one for the HTTP Client branch in the JDK sandbox repository
which adds PATCH to the HttpRequest builder:
  java_net_http_HttpRequest_PATCH_method.diff

Best regards,
Andrej Golovnin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java_net_HttpURLConnection_PATCH_method.diff
Type: application/octet-stream
Size: 530 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180302/80ac02bd/java_net_HttpURLConnection_PATCH_method.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java_net_http_HttpRequest_PATCH_method.diff
Type: application/octet-stream
Size: 4885 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180302/80ac02bd/java_net_http_HttpRequest_PATCH_method.diff>


More information about the net-dev mailing list