Closed GoogleCodeExporter closed 8 years ago
Thanks for reporting, I will look into it.
Original comment by subwiz
on 24 Jul 2012 at 4:03
The library we are using internally, Apache HTTP Client does not yet support
entity body for delete:
http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http
/client/methods/HttpDelete.html
We will not be able to support DELETE with entity body until the library
supports it.
Original comment by subwiz
on 24 Jul 2012 at 4:32
Thanks for looking into this. It would be a nice feature, hopefully Apache HTTP
client will support this.
Original comment by n...@noahwhite.net
on 25 Jul 2012 at 1:09
Quoting from the mail from Oleg (owner of Apache HTTP Client project):
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
Original comment by subwiz
on 25 Jul 2012 at 3:50
r635 and r636 has the fix.
Original comment by subwiz
on 25 Jul 2012 at 11:56
Development builds available here for testing:
http://dl.dropbox.com/u/2505020/restclient-ui-2.6-SNAPSHOT-app.zip
http://dl.dropbox.com/u/2505020/restclient-ui-2.6-SNAPSHOT-jar-with-dependencies
.jar
Original comment by subwiz
on 26 Jul 2012 at 12:40
Thanks. I downloaded it and will try it out.
Original comment by n...@noahwhite.net
on 26 Jul 2012 at 2:27
Original issue reported on code.google.com by
n...@noahwhite.net
on 24 Jul 2012 at 3:48