HTTPRange-14
httpRange-14 is a long-running logical conundrum or design problem in the semantic web. The problem arises because when HTTP is extended from referring only to documents to talking about real-world things (planets, flowers, emotions, Platonic forms, etc) the domain of HTTP GET becomes undefined.[1][2]
History
The HTTP protocol was originally designed to transfer information objects, specifically Hypertext such as HTML. The GET request was issued by a client to retrieve data at a particular URL. Retrieving non-HTML information objects (images, Flash files, CSS files, streaming video, etc) was not a problem, since all of these could be streamed across the network using standard approaches developed by earlier protocols.
The semantic web was invented, spearheaded by the W3C and Tim Berners-Lee, which used URLs to refer to real world things (planets, flowers, emotions, Platonic forms, etc) which could not be reduced to network streams. The question of what web servers should do when asked for one of these things arose.
Use of #
URIs of real world things can be limited to 'hash URIs', that is URIs containing a fragment identifier. These URIs cannot be directly deferenced via HTTP so the protocol does not need to worry about the conflict. In this approach a URI not ending in a hash is understood to refer to a document, whereas the same URI with a '#' appended can refer to an abstract concept.[3]
Use of HTTP Status Code 303 See Other
The HTTP Status Code 303 See Other is to be interpreted as follows:[4]
- A 303 response to a GET request indicates that the origin server does not have a representation of the target resource that can be transferred by the server over HTTP. However, the Location field value refers to a resource that is descriptive of the target resource, such that making a retrieval request on that other resource might result in a representation that is useful to recipients without implying that it represents the original target resource. Note that answers to the questions of what can be represented, what representations are adequate, and what might be a useful description are outside the scope of HTTP.
By sending a 303 when asked for a non-information resource and redirecting to an information resource about the non-information resource, the server answers the requesters information need without having to supply the actual thing.[5] This is recommended as good practice by the W3C August 2007 draft.[6]
Resolution
The W3C's Cool URIs for the Semantic Web document[7] recommends using one or other of these two methods, depending on the requirements of the project.
Implications
The impact of the issue (more correctly the impact of confusion around the issue) is greatest in semantic web communities whose models involve large numbers of abstract concepts which cannot be serialised, such as the FRBR community.[8]
Further reading
- http://www.w3.org/2001/tag/group/track/issues/14
- http://www.w3.org/wiki/HttpRange14Webography
- http://www.ibiblio.org/hhalpin/homepage/notes/uri.html
References
- ↑ "ISSUE-14: What is the range of the HTTP dereference function? - Technical Architecture Group Tracker". W3.org. http://www.w3.org/2001/tag/group/track/issues/14. Retrieved 2013-06-04.
- ↑ "HttpRange14Webography - W3C Wiki". W3.org. http://www.w3.org/wiki/HttpRange14Webography. Retrieved 2013-06-04.
- ↑ "Danny on : HttpRange-14 Reflux". http://dannyayers.com/2011/06/15/httpRange-14-Reflux.
- ↑ Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content. ietf.org. 2014. doi:10.17487/RFC7231. http://tools.ietf.org/html/rfc7231#section-6.4.4. Retrieved 2013-07-26.
- ↑ "Using "Punning" to Answer httpRange-14 | Jeni's Musings". Jenitennison.com. http://www.jenitennison.com/blog/node/170. Retrieved 2013-06-04.
- ↑ "Dereferencing HTTP URIs". W3.org. http://www.w3.org/2001/tag/doc/httpRange-14/2007-08-31/HttpRange-14.html. Retrieved 2013-06-04.
- ↑ "Cool URIs for the Semantic Web". W3.org. http://www.w3.org/TR/cooluris/. Retrieved 2013-06-04.
- ↑ "eFoundations: httpRange-14, Cool URIs & FRBR". Efoundations.typepad.com. 2009-02-05. http://efoundations.typepad.com/efoundations/2009/02/httprange14-cool-uris-frbr.html. Retrieved 2014-07-03.
![]() | Original source: https://en.wikipedia.org/wiki/HTTPRange-14.
Read more |