On Fri, 2020-07-10 at 11:04 +0200, Oleg Kalnichevski wrote: > Folks > > Some of you might have followed the RFC3986 Soap Opera in JIRA (with > a > very special guest moreover), with interest, or not. > > Anyway, here's what I can propose as an immediate step. I will invest > time into making _our_ code and protocol logic conformant to RFC3986 > (Roy's interpretation of it, that is) and put it into 5.1.x branch > for > review. > > We will end up with a RFC3986 / RFC2396 hybrid, at least initially. > At > a later point someone else would be very welcome to work on HTTPCORE- > 637 > > https://issues.apache.org/jira/browse/HTTPCORE-637 > > Oleg > >
Folks. Please find a few minutes to review the changes I am proposing to make HttpCore partially RFC3986 conformant in the 5.1 branch: https://github.com/apache/httpcomponents-core/pull/205 There are two major differences to the behavior of HttpCore 5.0.x and HttpClient 4.5.x: 1. percent-encoding is applied to all unreserved characters whenever or not some of those characters are explicitly permitted for use in URI components, for instance `&` character in path segments. 2. Host in URI authority component can have characters beyond those permitted by DNS syntax. Host can now be empty. I still find RFC 3986 terribly inconsistent and confusing but I suppose I am just not smart enough for it. So, please, your feedback _really_ matters. Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
