Skip to content

Instantly share code, notes, and snippets.

@rockyhmchen
Created July 17, 2020 12:25
Show Gist options
  • Save rockyhmchen/86a5bed6f91ba80d0158d11e79a0779c to your computer and use it in GitHub Desktop.
Save rockyhmchen/86a5bed6f91ba80d0158d11e79a0779c to your computer and use it in GitHub Desktop.
(a) http://www.example.com/
(b) http://www.example.com
(c) https://www.example.com/
(d) https://www.example.com
(e) https://example.com/
(f) https://example.com/fish
(g) https://example.com/fish/
Trailing slash on hostnames don't matter:
(a) = (b), (c) = (d)
Different protocols & hostnames do matter:
(a) is not (c), (c) is not (e)
Trailing slash on path/file does matter:
(f) is not (g)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment