-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathurl-parse-table.asc
19 lines (18 loc) · 1.67 KB
/
url-parse-table.asc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
+---------------------------------------------------------------------------------------------+
¦ href ¦
+---------------------------------------------------------------------------------------------¦
¦ protocol ¦ ¦ auth ¦ host ¦ path ¦ hash ¦
¦ ¦ ¦ +---------------------+---------------------------¦ ¦
¦ ¦ ¦ ¦ hostname ¦ port ¦ pathname ¦ search ¦ ¦
¦ ¦ ¦ ¦ ¦ ¦ +----------------¦ ¦
¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ query ¦ ¦
" https: // user : pass @ sub.host.com : 8080 /p/a/t/h ? query=string #hash "
¦ ¦ ¦ ¦ ¦ hostname ¦ port ¦ ¦ ¦ ¦
¦ ¦ ¦ ¦ +---------------------¦ ¦ ¦ ¦
¦ protocol ¦ ¦ username ¦ password ¦ host ¦ ¦ ¦ ¦
+-------------+---------------------+---------------------¦ ¦ ¦ ¦
¦ origin ¦ ¦ origin ¦ pathname ¦ search ¦ hash ¦
+---------------------------------------------------------------------------------------------¦
¦ href ¦
+---------------------------------------------------------------------------------------------+
* (all spaces in the "" line should be ignored -- they are purely for formatting)