Skip to content

Commit

Permalink
[doc] Document that the returned hostname might be invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Feb 11, 2022
1 parent f7774f6 commit 4e53a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -80,8 +80,8 @@ The returned `url` instance contains the following properties:
- `auth`: Authentication information portion (e.g. `username:password`).
- `username`: Username of basic authentication.
- `password`: Password of basic authentication.
- `host`: Host name with port number.
- `hostname`: Host name without port number.
- `host`: Host name with port number. The hostname might be invalid.
- `hostname`: Host name without port number. This might be an invalid hostname.
- `port`: Optional port number.
- `pathname`: URL path.
- `query`: Parsed object containing query string, unless parsing is set to false.
Expand Down

0 comments on commit 4e53a8c

Please sign in to comment.