|
Posted
about 1 year
ago
by
Oleg Kalnichevski
Regression: Versions after 5.3.1 silently ignore attempts to perform HTTP/1.0 requests
|
|
Posted
about 1 year
ago
by
Oleg Kalnichevski
> Is this behavior formally documented anywhere, and if so, can you point me to it? pavlov112 RFC 9110 section 6.2 > I didn't see anything obvious in the release notes or API documentation HttpClient 5.4 release notes state
* Improved
Read more
|
|
Posted
about 1 year
ago
by
Matthew E. Dawson
Thanks for the prompt reply and solution, olegk. Is this behavior formally documented anywhere, and if so, can you point me to it? I found it incredibly confusing that a method that I'd previously used to force 1.0 semantics silently changed on me, Read more
|
|
Posted
about 1 year
ago
by
Oleg Kalnichevski
pavlov112 The latest revision of the HTTP/1.1 specification mandates endpoints to always signal the highest protocol version with the same major version they are capable of supporting. HttpClient supports HTTP/1.1 and therefore always signals that
Read more
|
|
Posted
about 1 year
ago
by
Matthew E. Dawson
Every attempt I've made to use the classic API to invoke an HTTP/1.0 request is silently converted into HTTP/1.1: {{ final var request = new HttpGet(uri); request.setVersion(HttpVersion.HTTP_1_0); client.execute(host, request, responseHandler); }} Read more
|
|
Posted
about 1 year
ago
by
Julian Reschke
abernal - yes, sorry, I linked to the wrong section. See <https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.8.1>: Note: Previous versions of this specification required that only one Cookie header field be sent in Read more
|
|
Posted
about 1 year
ago
by
Julian Reschke
FWIW, see: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-4.2.1 Servers MUST be tolerant of multiple cookie headers. For example, an HTTP/2 [RFC9113 or HTTP/3 [RFC9114 client or intermediary might split a cookie header Read more
|
|
Posted
about 1 year
ago
by
ASF subversion and git services
Commit a1243ed22fdc3284468411073203774ba56815ee in httpcomponents-client's branch refs/heads/master from Oleg Kalnichevski [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=a1243ed22 ] HTTPCLIENT-2361: Tolerate multiple `Cookie` Read more
|
|
Posted
about 1 year
ago
by
ASF subversion and git services
Commit b7ece752eb52450c6190ae002ae84293ac56b5a9 in httpcomponents-client's branch refs/heads/5.4.x from Oleg Kalnichevski [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=b7ece752e ] HTTPCLIENT-2361: Tolerate multiple `Cookie` Read more
|
|
Posted
about 1 year
ago
by
Arturo Bernal
Use of multiple "Cookie" headers leads to exception
|