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]