[OpenID] URL normalization issues

John Panzer 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?[1]  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?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20070323/2e3d28b4/attachment-0002.htm>


More information about the general mailing list