httpclient icon indicating copy to clipboard operation
httpclient copied to clipboard

Request Host header for IPv6 address needs brackets

Open jzinn opened this issue 6 years ago • 0 comments

For requests to IPv6 addresses, the host header should have brackets around the IPv6 address.

Expected

GET / HTTP/1.1
Host: [::1]:8080

Actual

GET / HTTP/1.1
Host: ::1:8080

jzinn avatar Mar 01 '18 00:03 jzinn