You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Vishal Bihani (Jira)" <ji...@apache.org> on 2024/02/18 11:09:00 UTC
[jira] [Updated] (HTTPCORE-765) Add content-length header as 0 when entity is null
[ https://issues.apache.org/jira/browse/HTTPCORE-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vishal Bihani updated HTTPCORE-765:
-----------------------------------
Summary: Add content-length header as 0 when entity is null (was: Add content length as 0 when entity is null)
> Add content-length header as 0 when entity is null
> --------------------------------------------------
>
> Key: HTTPCORE-765
> URL: https://issues.apache.org/jira/browse/HTTPCORE-765
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 5.3-alpha2
> Reporter: Vishal Bihani
> Priority: Minor
>
> When entity details is null, by default it should add a content-length header with value 0. Not adding that results in 411 (Content Length required) error.
--
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