| From | Sent On | Attachments |
|---|---|---|
| 89 earlier messages | ||
| Vasiliy Faronov | Nov 5, 2010 6:00 am | |
| Vasiliy Faronov | Nov 5, 2010 6:33 am | |
| Nathan | Nov 5, 2010 7:17 am | |
| David Wood | Nov 5, 2010 7:18 am | |
| Pat Hayes | Nov 5, 2010 7:27 am | |
| Ian Davis | Nov 5, 2010 8:12 am | |
| Kingsley Idehen | Nov 5, 2010 8:18 am | |
| Nathan | Nov 5, 2010 8:39 am | |
| Kingsley Idehen | Nov 5, 2010 9:35 am | |
| Pat Hayes | Nov 5, 2010 10:29 am | |
| Kingsley Idehen | Nov 5, 2010 10:30 am | |
| Nathan | Nov 5, 2010 10:37 am | |
| Hugh Glaser | Nov 5, 2010 10:50 am | |
| David Booth | Nov 6, 2010 1:41 pm | |
| Norman Gray | Nov 6, 2010 3:45 pm | |
| Kingsley Idehen | Nov 6, 2010 4:07 pm | |
| David Booth | Nov 7, 2010 10:27 pm | |
| David Booth | Nov 7, 2010 10:27 pm | |
| Tore Eriksson | Nov 7, 2010 11:17 pm | |
| Toby Inkster | Nov 8, 2010 12:36 am | |
| Toby Inkster | Nov 8, 2010 2:10 am | |
| David Booth | Nov 8, 2010 6:39 am | |
| David Booth | Nov 8, 2010 6:42 am | |
| Norman Gray | Nov 8, 2010 7:51 am | |
| Toby Inkster | Nov 8, 2010 8:03 am | |
| David Booth | Nov 8, 2010 12:33 pm | |
| Lars Heuer | Nov 8, 2010 1:16 pm | |
| David Booth | Nov 8, 2010 1:35 pm | |
| Dave Reynolds | Nov 8, 2010 1:50 pm | |
| David Booth | Nov 8, 2010 3:34 pm | |
| Tore Eriksson | Nov 8, 2010 5:51 pm | |
| Dave Reynolds | Nov 9, 2010 6:36 am | |
| Lars Heuer | Nov 9, 2010 8:00 am | |
| Kjetil Kjernsmo | Nov 10, 2010 7:13 am | |
| Jason Borro | Nov 11, 2010 11:47 am | |
| David Booth | Nov 18, 2010 2:09 pm | |
| Kingsley Idehen | Nov 19, 2010 4:25 am | |
| David Booth | Nov 19, 2010 1:55 pm | |
| Kingsley Idehen | Nov 19, 2010 2:07 pm | |
| Nathan | Nov 19, 2010 2:57 pm | |
| Kingsley Idehen | Nov 19, 2010 5:55 pm | |
| Bob Ferris | Nov 26, 2010 6:15 am | |
| Nathan | Nov 26, 2010 6:29 am | |
| David Booth | Nov 26, 2010 9:32 am | |
| David Booth | Nov 26, 2010 9:48 am | |
| Kingsley Idehen | Nov 26, 2010 12:36 pm | |
| William Waites | Nov 26, 2010 1:47 pm | |
| Kingsley Idehen | Nov 26, 2010 6:05 pm | |
| Richard Light | Nov 27, 2010 4:47 am | |
| Tim Berners-Lee | Nov 27, 2010 12:24 pm | |
| William Waites | Nov 28, 2010 5:47 am | |
| Giovanni Tummarello | Nov 28, 2010 5:51 am | |
| Jiří Procházka | Nov 28, 2010 6:46 am | |
| Tim Berners-Lee | Nov 28, 2010 7:07 am | |
| Kingsley Idehen | Nov 28, 2010 9:45 am | |
| Jiří Procházka | Nov 28, 2010 12:51 pm | |
| Toby Inkster | Nov 28, 2010 3:27 pm | |
| Kingsley Idehen | Nov 28, 2010 3:47 pm | |
| Jiří Procházka | Nov 28, 2010 4:51 pm | |
| Kingsley Idehen | Nov 28, 2010 5:15 pm | |
| James Leigh | Nov 29, 2010 5:54 am | |
| Bob Ferris | Dec 14, 2010 2:54 pm | |
| Subject: | Re: Is 303 really necessary? | |
|---|---|---|
| From: | Tim Berners-Lee (tim...@w3.org) | |
| Date: | Nov 27, 2010 12:24:30 pm | |
| List: | org.w3.public-lod | |
Sorry, this thread has been around but the public-lod list snuck up on me without my getting on it, so I have missed some of the fray!
I am happy to look at improvements in the current HTTPRange 14 architecture as I know that 303 is a pain. But I don't want to break the web.
Looking at http://bnb.bibliographica.org/entry/GB8102507
the tabulator concludes that the thing identified by it
is both a book and an RDF document, and it shows me, by default, the triples it
contains
instead of the information about it, because that is what as a user I want.
It doesn't use this new idea from IanD of using the content-location header as flag to indicate that the URI you used in the GET request may NOT be used to refer to the document returned.
Suppose we go along with this new idea.
Then, it will end up with (ignoring namespaces) in N3 the information we get from that fetch includes:
<http://bnb.bibliographica.org/entry/GB8102507> a Book; contributor [name "Boyd, William"].
<http://bnb.bibliographica.org/entry/GB8102507.rdf> a DataDocument; foaf:primaryTopic <http://bnb.bibliographica.org/entry/GB8102507>.
Ok, I understand the system.
But if you introduce this as the architecture of the web,
then it applies all the time. You can't chose when it applies and when it
doesn't.
Now look at
http://www.w3.org/2008/site/images/logo-w3c-mobile-lg
This dereferenced to give you a content-location of
http://www.w3.org/2008/site/images/logo-w3c-mobile-lg.png
What do we know then?
<http://www.w3.org/2008/site/images/logo-w3c-mobile-lg.png> we know we can use to refer to the image in its PNG version. <http://www.w3.org/2008/site/images/logo-w3c-mobile-lg> we know nothing about.
Because the fetch returned a content-location header, we are now not allowed to use that URI to refer to anything -- it could after all refer to the Eiffel Tour, or the W3C as an organization according to the new system.
Does this make sense?
If you look that up in a browser, you will see the image in the window and the URI in the title bar. We in fact really expect that people SHOULD use the generic URI "http://www.w3.org/2008/site/images/logo-w3c-mobile-lg" to refer to the logo, not the .png URI, as people may need the content negotiation, and we may introduce a new version in a new graphics format some time.
So all across the web, people are, and should use the original URI to refer to the image. Tthey see something in the URI bar and a document (image, etc) in the window and they assume rightly they can use that URI to refer to that image.
The bookmarking system works like this. Emailing a friend a URI of something you are looking at works like this. Making a link to something you think it cool works like this. Putting a image in your page someone else has in their page works like this. The web works like this.
We can't make the semantic web work in a way that actually leaves the web not working.
We can't leave the WWW working one way and the LOD web working another, as they
are inextricably interconnected.
Now .... Someone in the the thread somewhere at one point suggested a friendly amendment to the original proposal, where a new status code is sent for semantic web data being returned *about* the object identified by the request URI, rather than information *in* it. I think 208 was suggested, I.e, the next unused one.
With that modification, I can't see a snag.
- It is only used for data so old web browsers are not going to be seeing it
- The data world is young enough for us to slide it in, maybe, without too much
harm to existing clients, which would all have to be recoded, but it might be
worth it to
relieve this tension.
- the rest of the web continue to use 200
Tim
------------------------------------------------------------------------------------ Some headers fro URIs above:
$ curl -I http://www.w3.org/2008/site/images/logo-w3c-mobile-lg HTTP/1.1 200 OK Date: Sat, 27 Nov 2010 19:21:50 GMT Server: Apache/2 Content-Location: logo-w3c-mobile-lg.png Vary: negotiate,accept TCN: choice Last-Modified: Sun, 25 Apr 2010 15:27:07 GMT ETag: "11a9-485114b0e28c0;4876eed0c4800" Accept-Ranges: bytes Content-Length: 4521 Cache-Control: max-age=2592000 Expires: Mon, 27 Dec 2010 19:21:50 GMT P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml" Connection: close Content-Type: image/png; qs=0.7
This is odd -- doesn't support HEAD?
$ curl -I http://bnb.bibliographica.org/entry/GB8102507 HTTP/1.0 406 Not Acceptable Date: Sat, 27 Nov 2010 19:29:24 GMT Server: Apache/2.2.14 (Ubuntu) Pragma: no-cache Cache-Control: no-cache Access-Control-Allow-Origin: * Vary: Accept-Encoding Content-Type: text/html; charset=UTF-8 X-Cache: MISS from localhost X-Cache-Lookup: MISS from localhost:80 Via: 1.0 localhost (squid/3.0.STABLE19) Connection: close
$ curl -I -H Accept:application/rdf+xml
http://bnb.bibliographica.org/entry/GB8102507
HTTP/1.0 406 Not Acceptable
$ cwm http://bnb.bibliographica.org/entry/GB8102507 --no Warning: <ddc:Notation> is not a fragment! Warning: <dc:ISO639-2> is not a fragment! Warning: <ddc:Notation> is not a fragment! $
$ curl -v -H Accept:application/rdf+xml
http://bnb.bibliographica.org/entry/GB8102507 > /dev/null
[...]
< HTTP/1.0 200 OK
< Date: Sat, 27 Nov 2010 19:36:26 GMT
< Server: Apache/2.2.14 (Ubuntu)
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Location: GB8102507.rdf
< Content-Length: 5294
< Access-Control-Allow-Origin: *
< Content-Type: application/rdf+xml; charset=utf-8
< X-Cache: MISS from localhost
< X-Cache-Lookup: MISS from localhost:80
< Via: 1.0 localhost (squid/3.0.STABLE19)
< Connection: close
[..]





