bug in default base URI in "HTTP Header Linking"?

I was a little surprised to read:

If the relationship is a relative URI, its base URI MUST be considered
to be "http://www.iana.org/assignments/link-relations.html#",
 -- http://tools.ietf.org/id/draft-nottingham-http-link-header-01.txt

Is that really what you meant?

If we take this example from the same draft:

       Link: <http://www.cern.ch/TheBook/chapter2>; rel="Previous"

we get:

>>> import urlparse
>>> base="http://www.iana.org/assignments/link-relations.html#"
>>> urlparse.urljoin(base, "Previous")
'http://www.iana.org/assignments/Previous'

Surely that's not by design, right?



p.s. I'm not subscribed to ietf-http-wg@w3.org, so please
copy me on replies.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Thursday, 19 June 2008 15:48:05 UTC