mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
URL-SYNTAX.md: document the new 'localhost' treatment
This commit is contained in:
parent
1a0ebf6632
commit
c61ca43340
@ -168,6 +168,15 @@ brackets). For example:
|
|||||||
|
|
||||||
http://[2001:1890:1112:1::20]/
|
http://[2001:1890:1112:1::20]/
|
||||||
|
|
||||||
|
### "localhost"
|
||||||
|
|
||||||
|
Starting in curl 7.77.0, curl will use loopback IP addresses for the name
|
||||||
|
`localhost`: `127.0.0.1` and `::1`. It will not try to resolve the name using
|
||||||
|
the resolver functions.
|
||||||
|
|
||||||
|
This is done to make sure the host accessed is truly the localhost - the local
|
||||||
|
machine.
|
||||||
|
|
||||||
### IDNA
|
### IDNA
|
||||||
|
|
||||||
If curl was built with International Domain Name (IDN) support, it can also
|
If curl was built with International Domain Name (IDN) support, it can also
|
||||||
|
Loading…
Reference in New Issue
Block a user