users@jax-rs-spec.java.net

[jax-rs-spec users] Re: Native support for additional HTTP methods

From: Sebastian Daschner <java_at_sebastian-daschner.de>
Date: Wed, 5 Apr 2017 07:38:32 +0200

Hi Andy,

For PATCH I personally think it makes sense to add it to the spec,
especially since we've been building support for JSON Patch into JSR
374. There is a JIRA issue: https://java.net/jira/browse/JAX_RS_SPEC-513

IMO there's not a big necessity to add CONNECT and TRACE though -- in
favor of other features that should be included in 2.1.

What do the other experts think about this?

Cheers,
Sebastian
   


On 04/04/2017 10:32 PM, Andrew McCright wrote:
> Hi All,
>
> We've seen a number of requests from our customers for built-in
> support of other HTTP methods such as CONNECT, TRACE, and PATCH --
> PATCH has been especially requested.
>
> While it is currently possible for users to define their own custom
> HTTP methods, I've seen a few support cases where users are not
> implementing them properly - for example, one customer did not safely
> implement a PATCH method for case sensitivity, so when a client sent a
> "patch" request, they ended up with a 415.
>
> What would you think about adding these methods as annotations in the
> spec?
>
> Thanks,
>
> Andy
>
>
> J. Andrew McCright
> IBM WebSphere Development
> +1 507 253 7448
> TL 553-7448
> andymc_at_us.ibm.com
>