Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#609 IPv6 Host field is stripped of Brackets in HTTPClientSession

Documentation
closed
nobody
None
5
2013-05-02
2013-04-11
Rob Kenna
No

When creating an HTTPClientSession the Host:port are provided. For IPv6 hosts, the brackets are stripped when sending the host field. So an address like:
[fc00:121:121:64::66]:8081 incorrectly appears in the host field as fc00:121:121:64::66:8081.

There is a workaround to explicitly set host on the Request to override the field with the correct value.

Discussion

  • Alex Fabijanic
    Alex Fabijanic
    2013-05-02

    • status: open --> closed