mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
An IPv6 IP that occurs in the 'Host:' header of an HTTP request must be enclosed in square brackets (RFC3986 section 3.2.2). Searches for ':' in the host string to efficiently determine if the host is an IPv6 IP address.