Re: [LEDE-DEV] [PATCH uclient] uclient-http: fix Host: header for literal IPv6 addresses

2017-09-06 Thread Jo-Philipp Wich
Hi Matthias, > For literal IPv6 addresses, the host header must have the form > > Host: [...] > > including the square brackets, as it may also contain a port. Some > webservers ignore the missing brackets, while others will return > error 400. > > IPv6 addresses are determined by searching fo

[LEDE-DEV] [PATCH uclient] uclient-http: fix Host: header for literal IPv6 addresses

2017-09-05 Thread Matthias Schiffer
For literal IPv6 addresses, the host header must have the form Host: [...] including the square brackets, as it may also contain a port. Some webservers ignore the missing brackets, while others will return error 400. IPv6 addresses are determined by searching for ':' characters in the host, a