URL comparison
Compare two URLs part by part, including every query parameter.
| Part | First | Second | Result |
|---|---|---|---|
| Scheme | https | https | Same |
| Username | None | None | Same |
| Password | None | None | Same |
| Host | example.com | example.com | Same |
| Port | None | 443 | SameDefault port ignored |
| Path | /docs/ | /docs | Different |
| Query | b=2&a=1&tag=x | a=1&b=3&tag=x&tag=y | Different |
| Fragment | intro | None | Different |
| Key | Status | First | Second |
|---|---|---|---|
b | Changed | 2 | 3 |
a | Unchanged | 1 | 1 |
tag | Unchanged | x | x |
tag | Added | None | y |