RFE: Add PATCH to the list of the supported HTTP methods
Chris Hegarty
chris.hegarty at oracle.com
Tue Mar 6 18:40:43 UTC 2018
Hi Andrej,
On 02/03/18 08:28, Andrej Golovnin wrote:
> Hi all,
>
> it would be nice if could add PATCH
> (https://tools.ietf.org/html/rfc5789) to the list of the supported
> ...
> - 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
The JDK HTTP Client has:
`HttpRequest.Builder::method(String method, BodyPublisher publisher)`
,so it is currently possible to use the `PATCH` method.
Is `PATCH` sufficiently popular to warrant its own self-named
method in the request builder?
-Chris.
More information about the net-dev
mailing list