I've seen this make sense in various RESTful APIs where you want to DELETE an 
entity but need to specify more entity data then can be done so with simply 
query params. 

-Noah


On Jul 25, 2012, at 4:34 AM, Oleg Kalnichevski wrote:

> On Tue, 2012-07-24 at 12:37 -0400, Subhash Chandran wrote:
>> Hi,
>> 
>> As per the discussion below, the spec seems to support Entity body for
>> Delete:
>> 
>> http://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request
>> 
>> Is there any plans of supporting Entity body for Delete in HTTPClient?
>> 
> 
> I personally think entity enclosing DELETE requests make no sense, but
> this is all it takes to force HttpClient to support them 
> ---
> class EntityEnclosingDelete extends HttpEntityEnclosingRequestBase {
> 
>    @Override
>    public String getMethod() {
>        return "DELETE";
>    }
> 
> }
> ---
> Hope this helps
> 
> Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


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

Reply via email to