W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2011

Clarification on use of Content-Location requested

From: Nathan <nathan@webr3.org>
Date: Fri, 07 Jan 2011 09:59:34 +0000
Message-ID: <4D26E406.7080807@webr3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
Hi,

Just looking for a quick clarification on valid usage of 
Content-Location w/ 200 OK in response to a GET, is the following valid 
usage?

given:

current latest draft of the spec on 2011-01-04, multiple representations
   /spec/2011-01-04

current latest draft of the spec on 2011-01-04, html representation
   /spec/2011-01-04.html

current latest draft of the spec on 2011-01-04, txt representation
   /spec/2011-01-04.txt

latest working draft of the spec
   /spec/latest


If a client makes a GET request on /spec/latest with an Accept header 
indicating they want a text/html variant, then can the server respond 
with 200 OK and a Content-Location of /spec/2011-01-04.html?

Or must it 302/307 to /spec/2011-01-04 first?

And as an addition question, if this is fine (200 OK w/ Content 
Location), which is the preferred approach / best for the network?

Best,

Nathan
Received on Friday, 7 January 2011 10:01:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:36 GMT