You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Kasun Indrasiri <ka...@gmail.com> on 2013/07/18 16:17:32 UTC
Does httpcore support PATCH method?
Hi devs,
Does httpcode support HTTP PATCH (RF5789) method? Apparently httpclient
supports it.
[1]
http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/methods/HttpPatch.html
--
Kasun Indrasiri
Associate Technical Lead,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/
Re: Does httpcore support PATCH method?
Posted by Kasun Indrasiri <ka...@gmail.com>.
On Thu, Jul 18, 2013 at 8:44 PM, James Leigh <ja...@3roundstones.com> wrote:
> On Thu, 2013-07-18 at 16:50 +0200, Oleg Kalnichevski wrote:
> > On Thu, 2013-07-18 at 19:47 +0530, Kasun Indrasiri wrote:
> > > Hi devs,
> > >
> > > Does httpcode support HTTP PATCH (RF5789) method? Apparently httpclient
> > > supports it.
> > >
> >
> > Hi Kasun
> >
> > What is unusual about PATCH method that requires special support?
> >
> > Oleg
> >
>
> HTTP PATCH is rejected by httpcore server by default in request
> factory[1]. You have to provide your own implementations to support it.
>
> [1]
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpRequestFactory.java
>
> I was checking the same class, and that's why I raised the query. Is there
any plans to add this by default?
Thanks
> Regards,
> James
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>
--
Kasun Indrasiri
Associate Technical Lead,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/
Re: Does httpcore support PATCH method?
Posted by James Leigh <ja...@3roundstones.com>.
On Thu, 2013-07-18 at 16:50 +0200, Oleg Kalnichevski wrote:
> On Thu, 2013-07-18 at 19:47 +0530, Kasun Indrasiri wrote:
> > Hi devs,
> >
> > Does httpcode support HTTP PATCH (RF5789) method? Apparently httpclient
> > supports it.
> >
>
> Hi Kasun
>
> What is unusual about PATCH method that requires special support?
>
> Oleg
>
HTTP PATCH is rejected by httpcore server by default in request
factory[1]. You have to provide your own implementations to support it.
[1] http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpRequestFactory.java
Regards,
James
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: Does httpcore support PATCH method?
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2013-07-18 at 19:47 +0530, Kasun Indrasiri wrote:
> Hi devs,
>
> Does httpcode support HTTP PATCH (RF5789) method? Apparently httpclient
> supports it.
>
Hi Kasun
What is unusual about PATCH method that requires special support?
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org