Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
5.1.4
-
None
-
None
Description
see: httpcomponents-core/H2RequestContent.java at master · apache/httpcomponents-core (github.com)
there 3 things are set, but not the content length.
(if protocol would be < 2 then super.process() would be called which would set it)
i know http/2 mode setting the content length is optional. But some servers seems to really want it. And i think as long as the content-length is known upfront it shouldn't harm to set it right?