Commit 041f148 1 parent c6a54d0 commit 041f148 Copy full SHA for 041f148
File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 5
5
This module has utilities for URL resolution and parsing.
6
6
Call ` require('url') ` to use it.
7
7
8
+ ## URL Parsing
9
+
8
10
Parsed URL objects have some or all of the following fields, depending on
9
11
whether or not they exist in the URL string. Any parts that are not in the URL
10
12
string will not be in the parsed object. Examples are shown for the URL
@@ -64,6 +66,15 @@ string will not be in the parsed object. Examples are shown for the URL
64
66
65
67
Example: ` '#hash' `
66
68
69
+ ### Escaped Characters
70
+
71
+ Spaces (` ' ' ` ) and the following characters will be automatically escaped in the
72
+ properties of URL objects:
73
+
74
+ < > " ` \r \n \t { } | \ ^ '
75
+
76
+ ---
77
+
67
78
The following methods are provided by the URL module:
68
79
69
80
## url.parse(urlStr[ , parseQueryString] [ , slashesDenoteHost ] )
You can’t perform that action at this time.
0 commit comments