URL を解析
HTTP(S) URL をホスト・パス・クエリに分解。
1 本の http/https URL を protocol/host/port/path/query/hash に。URL 抽出と違い全文スキャンではない。URL 符号化と違い百分号処理ではない。クエリ→JSON と違いクエリは生文字列。他プロトコルは失敗。
Protocol: https
Host: example.com
Port: 8080
Path: /path
Query: q=1
Hash: top
Origin: https://example.com:8080
Username: (none)
Password: (none)
クエリパラメータ(JSON): {"q":"1"}