You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Jin Xu (Jira)" <ji...@apache.org> on 2023/03/19 05:09:00 UTC

[jira] [Comment Edited] (HTTPCORE-736) HttpClient GET method adds Content-Length: 0 header

    [ https://issues.apache.org/jira/browse/HTTPCORE-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702199#comment-17702199 ] 

Jin Xu edited comment on HTTPCORE-736 at 3/19/23 5:08 AM:
----------------------------------------------------------

pr in https://github.com/apache/httpcomponents-core/pull/396


was (Author: xenoamess):
https://github.com/apache/httpcomponents-core/pull/396

> HttpClient GET method adds Content-Length: 0 header
> ---------------------------------------------------
>
>                 Key: HTTPCORE-736
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-736
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>    Affects Versions: 4.4.16, 5.2.1
>            Reporter: Jin Xu
>            Priority: Critical
>
> HttpClient GET method adds Content-Length: 0 header
> This would cuase some server/firewall deny this kind of http requests.
> See fixes of the same bug in other frameworks:
> java: https://bugs.openjdk.org/browse/JDK-8283544
> dart: https://github.com/dart-lang/shelf/pull/180



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org