[OpenID] URL normalization issues
jpanzer at aol.net
Fri Mar 23 19:11:07 UTC 2007
Martin Atkins wrote:
> John Panzer wrote:
>> Given two hCards,
>> <a class="url fn uid" href="http://example.com/foo">Foo Bar</a>
>> <a class="url fn uid" href="http://example.com/foo/">F. Bar</a>
>> should I consider these two identities equivalent, or not? Or is
>> there a way to resolve them by asking the servers (not doing an auth
>> check, just a canonicalization check of some kind)?
> They are two distinct URLs. One of them might well issue a permanent
> redirect to the other, but that cannot be relied on unless you try it.
So to check for identity, should a client attempt a GET or a HEAD and
look only for 301 redirects?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the general