[ https://issues.apache.org/jira/browse/HTTPCLIENT-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904877#comment-15904877 ]
Gary Gregory commented on HTTPCLIENT-1828: ------------------------------------------ My POV is that we should allow programmers to work with whatever web services dish out there in the big bad world, within some reason of course. In this case, since the spec does not disallow a body in DELETE, I think we should allow HC to do it. Let's not forget that this ticket is driver by a user request. If it were just me, I'd go through and change the other verbs that do not disallow a body (but I'm not going to do that ATM.) > 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