mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-10 11:24:46 +00: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.