W3C home > Mailing lists > Public > public-xg-webid@w3.org > January 2012

Reminder: Never send fragid with HTTP GET (Was: fixed https://foafssl.org/test/WebId_

From: Tim Berners-Lee <timbl@w3.org>
Date: Fri, 6 Jan 2012 08:31:19 -0500
Cc: Jürgen Jakobitsch <j.jakobitsch@semantic-web.at>, "public-xg-webid@w3.org XG" <public-xg-webid@w3.org>
Message-Id: <C5A7DD0A-0DFC-4D37-96DA-9E3E80814263@w3.org>
To: Henry Story <henry.story@bblfish.net>

(On 2012-01 -05, at 19:04, Henry Story wrote:

> 1. do a GET on the URL with #i
> 
> --------------------------8<----------------------------8<----------------------------
> hjs@bblfish[0]$ telnet 2sea.org 80
> Trying 46.228.199.61...
> Connected to 2sea.org.
> Escape character is '^]'.
> GET http://2sea.org/sea.jsp#i HTTP/1.1


That is a violation of the URI and HTTP specs.
Never send the hash over HTTP.
<foo#bar> means "Whatever is referred to a as <#bar> in <foo>".
You must strip off the # and everything after it to retrieve <foo>.
Just don't do it.

Tim)
Received on Friday, 6 January 2012 13:31:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 January 2012 13:31:30 GMT