jira-importer opened a new issue, #1308: URL: https://github.com/apache/httpcomponents-core/issues/1308
**[Julio J. Gomez Diaz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=juliojgd)** opened **[HTTPCORE-781](https://issues.apache.org/jira/browse/HTTPCORE-781?redirect=false)** and commented I noticed that changes for 5.3.x in class "org.apache.hc.core5.http.impl.DefaultContentLengthStrategy" (this commit: https://github.com/apache/httpcomponents-core/commit/7fea9ef7fa2be53a7631aad9bb484db7347667be#diff-385ee34bb5e36b01eb7c355de9557d7f830ba5a202f156057ac3559507ea5c7aR44-R68 ) are not compliant to what is described in RFC 9112 section 6.1 ( https://www.rfc-editor.org/rfc/rfc9112.html#section-6.1 ) at least in this example, presented in the RFC section as a VALID example: ```java Transfer-Encoding: gzip, chunked ``` With 5.3.x it fails throwing an exception via this line: ```java throw new NotImplementedException("Unsupported transfer encoding: " + teh.getValue()); ``` effectively printing in the stack trace: "Unsupported transfer encoding: gzip,chunked" --- **Affects:** 5.3.3 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
