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

(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 UTC