[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904885#comment-15904885
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1828:
-----------------------------------------------

Gary,
As I have already said I was not going to stand in your way but at the very 
least we need to explain why once of a sudden we treat DELETE and GET methods 
differently even though their behavior with regards to request body enclosure 
is absolutely the same (both based on RFC 2616 and RFC 723x). The library used 
to have reasonable defaults and easy path for any willing to override the 
default behavior and now it does not.

Oleg

> HttpDelete does not extend HttpEntityEnclosingRequestBase
> ---------------------------------------------------------
>
>                 Key: HTTPCLIENT-1828
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1828
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.5.1, 4.5.2, 4.5.3
>            Reporter: Saravanakumar Selvaraj
>             Fix For: 4.5.4, 5.0 Alpha1
>
>
> Sending body in DELETE is allowed as the HTTP 1.1 specification does not 
> forbid. Hence HttpDelete.class should extend from 
> HttpEntityEnclosingRequestBase instead of HttpRequestBase.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to