URLs can be broken up into these components:
Sample URL: http://www.server.com:8080/path?query=string#fragment
- protocol = http
- host = www.server.com
- port = 8080
- path = /path
- query = ?query=string
- fragment = #fragment
Is there an established name for everything that comes after port (path, query, and fragment)? I was tempted to just call this "path" but that is not a good name as it does not include the query and fragment.
Aucun commentaire:
Enregistrer un commentaire