Sjoerd Visscher wrote: > > Sam Ruby wrote: > >>>> URI(doc) = http://www.w3future.com/weblog/rss.xml?notransform >>>> xml:base = http://w3future.com/weblog/rss.xml?notransform >>> >>> Ah, ok, I missed that. (Just to be sure, you added www yourself, or is >>> there a link to the feed somewhere with www in it?) >> >> Your feed is available from both of the URI's mentioned above. The >> tinyurl quoted above is based on passing the first one to the feed >> validator. > > Oh, this is actually interesting. I send a 301 when you use > www.w3future.com. It looks like this is handled transparently by your > http library, giving you the file at w3future.com. In that case it > should be possible to request the actual uri that is used to get the file.
Fixed. > And then there's also the Content-Location header, which sets the base > URI. This is used with content negotiation. F.e. (I haven't actually > implemented this) if you would send a request to > http://w3future.com/weblog/ > with the header > Accept: application/atom+xml > I could send you the atom file with this header: > Content-Location: http://w3future.com/weblog/rss.xml?notransform > > Afaik this is how the HTTP spec suggest to implement content > negotiation. Then the value of Content-Location should be considered to > be the uri of the document. I now check for content-location too. - Sam Ruby
