The pathname doesn't contain query params and hashes.