[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-1499.
-------------------------------------------

    Resolution: Invalid

RFC 2616 defines _clearly_ and _unambiguously _ only two entity enclosing 
methods: POST and PUT. 

GET requests with content body are silly and violate principles of request 
idempotence defined by the protocol.

Oleg

> Fluent-HC GET should support bodyString()
> -----------------------------------------
>
>                 Key: HTTPCLIENT-1499
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1499
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Fluent HC
>    Affects Versions: 4.3.2
>            Reporter: Axel Fontaine
>
> Request.Get(url).bodyString(json, ContentType.APPLICATION_JSON).execute() 
> currently fails with "GET request cannot enclose an entity"
> This is simply incorrect and works flawlessly with the regular HttpClient.
> This should be trivial to enable in the fluent one as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to