The URI generic syntax consists of a hierarchical sequence of five components
URI = scheme ":" ["//" authority] path ["?" query] ["#" fragment]
authority = [userinfo "@"] host [":" port]
? query component
Query delimiter | Example |
---|---|
Ampersand (& ) | key1=value1&key2=value2 |
Semicolon (; ) | key1=value1;key2=value2 |
scheme是http, https, ftp 这种
https://www.youtube.com/watch?v=-ykeT6kk4bk
?query key-value pairs
参考: