Re: [Recipes] Puzzle with HTTP Accept, Firefox header plug-in and RDF

Michael,

Yes, but my header was set to be application/rdf+xml only, and this was rightly detected by dbPedia and Vapour.
Note that the log at the end of my mail [1] was also produced by Live HTTP Headers. A very useful thing :-)

Cheers, 

Antoine

[1] http://lists.w3.org/Archives/Public/public-swd-wg/2009Feb/0034.html

> Antoine,
> 
> Looking with Lieve HTTP Headers [1] at it reveals:
> 
> http://www.w3.org/2008/05/skos
> 
> GET /2008/05/skos HTTP/1.1
> Host: www.w3.org
> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Ubiquity/0.1.5
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: cookieb2evosession=40683232_PTshlwyIwCZWHsqq5XPOyKEpRE871CAb;
> wikidb_videofrag_UserID=3; wikidb_videofrag_UserName=MichaelHausenblas;
> wikidb_videofrag_Token=15b7495d472a027f9457074971babe27;
> wikidb_videofrag__session=71e936fac2e15457dd82fee2466625e7
> 
> HTTP/1.x 303 See Other
> Date: Thu, 12 Feb 2009 15:59:34 GMT
> Server: Apache/2
> Location: http://www.w3.org/TR/2008/WD-skos-reference-20080829/skos.html
> Cache-Control: max-age=21600
> Expires: Thu, 12 Feb 2009 21:59:34 GMT
> Content-Length: 269
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> ----------------------------------------------------------
> http://www.w3.org/TR/2008/WD-skos-reference-20080829/skos.html
> 
> GET /TR/2008/WD-skos-reference-20080829/skos.html HTTP/1.1
> Host: www.w3.org
> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Ubiquity/0.1.5
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: cookieb2evosession=40683232_PTshlwyIwCZWHsqq5XPOyKEpRE871CAb;
> wikidb_videofrag_UserID=3; wikidb_videofrag_UserName=MichaelHausenblas;
> wikidb_videofrag_Token=15b7495d472a027f9457074971babe27;
> wikidb_videofrag__session=71e936fac2e15457dd82fee2466625e7
> 
> HTTP/1.x 200 OK
> Date: Thu, 12 Feb 2009 15:59:34 GMT
> Server: Apache/2
> Last-Modified: Wed, 01 Oct 2008 15:25:07 GMT
> Etag: "65d8-45832b483fac0"
> Accept-Ranges: bytes
> Content-Length: 26072
> Cache-Control: max-age=31536000
> Expires: Fri, 12 Feb 2010 15:59:34 GMT
> P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
> Connection: close
> Content-Type: text/html; charset=utf-8
> ----------------------------------------------------------
> http://www.w3.org/StyleSheets/TR/base
> 
> GET /StyleSheets/TR/base HTTP/1.1
> Host: www.w3.org
> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Ubiquity/0.1.5
> Accept: text/css,*/*;q=0.1
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://www.w3.org/TR/2008/WD-skos-reference-20080829/skos.html
> Cookie: cookieb2evosession=40683232_PTshlwyIwCZWHsqq5XPOyKEpRE871CAb;
> wikidb_videofrag_UserID=3; wikidb_videofrag_UserName=MichaelHausenblas;
> wikidb_videofrag_Token=15b7495d472a027f9457074971babe27;
> wikidb_videofrag__session=71e936fac2e15457dd82fee2466625e7
> 
> HTTP/1.x 200 OK
> Date: Thu, 12 Feb 2009 15:59:35 GMT
> Server: Apache/2
> Content-Location: base.css
> Vary: negotiate
> TCN: choice
> Accept-Ranges: bytes
> Cache-Control: max-age=604800
> Expires: Thu, 19 Feb 2009 15:59:35 GMT
> P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/css
> ----------------------------------------------------------
> http://www.w3.org/TR/2008/WD-skos-reference-20080829/extras.css
> 
> GET /TR/2008/WD-skos-reference-20080829/extras.css HTTP/1.1
> Host: www.w3.org
> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Ubiquity/0.1.5
> Accept: text/css,*/*;q=0.1
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://www.w3.org/TR/2008/WD-skos-reference-20080829/skos.html
> Cookie: cookieb2evosession=40683232_PTshlwyIwCZWHsqq5XPOyKEpRE871CAb;
> wikidb_videofrag_UserID=3; wikidb_videofrag_UserName=MichaelHausenblas;
> wikidb_videofrag_Token=15b7495d472a027f9457074971babe27;
> wikidb_videofrag__session=71e936fac2e15457dd82fee2466625e7
> 
> HTTP/1.x 200 OK
> Date: Thu, 12 Feb 2009 15:59:35 GMT
> Server: Apache/2
> Last-Modified: Thu, 28 Aug 2008 20:02:01 GMT
> Etag: "ab0-4558a9c2ec040"
> Accept-Ranges: bytes
> Content-Length: 2736
> Cache-Control: max-age=604800
> Expires: Thu, 19 Feb 2009 15:59:35 GMT
> P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
> Connection: close
> Content-Type: text/css
> ----------------------------------------------------------
> 
> Which means that FF3 has a slight preference for
> 
> application/xhtml+xml,application/xml;q=0.9,
> 
> compared to
> 
> */*;q=0.8
> 
> for all other stuff (incl. RDF ;)
> 
> See also [2] for more details.
> 
> Cheers,
>       Michael
> 
> [1] https://addons.mozilla.org/en-US/firefox/addon/3829
> [2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Received on Thursday, 12 February 2009 16:23:04 UTC