The documentation of ServeMux is not clear if IP addresses are supported in 
the HTTP Host header or in the pattern.

The stripHostPort function:
https://github.com/golang/go/blob/master/src/net/http/server.go#L2221
has a comment that ignores IPv6 address, and there are no test that ensure 
IP addresses work.

I suspect that IPv6 addresses with no port number will not work correctly.  
Should I report an issue?


Thanks
Manlio Perillo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to