You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2021/04/06 13:07:26 UTC
[GitHub] [httpcomponents-core] ok2c commented on pull request #279: HTTPCORE-616: Make parsing IPv6 ready
ok2c commented on pull request #279:
URL: https://github.com/apache/httpcomponents-core/pull/279#issuecomment-814105042
@carterkozak @michael-o In ideal situation there should have been only `Host` and `URIAuthority` classes and no `HttpHost`. I opted to keep `HttpHost` for the sake of backward compatibility due to its widespread use in 4.x. I am really not sure `URIAuthority` should extend `Host`. Please also note all three classes implement `NamedEndpoint` interface, which is something they all share in common.
Having said all that it should not prevent us from re-using parsing and formatting logic.
I can look into that once you are happy with IPv6 specific aspects.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org