Re: A new HTTP response code say 209

On 2013-12-19 17:55, Tim Berners-Lee wrote:
>
>
> We need a new 20X status code (we refer to it as 209, though that can be regarded as a placeholder) to allow information relating to and useful but different from the original thing.

I would recommend to use 299 as a placeholder. There's a history of 
people picking the first unallocated code, then deploying code, then 
forgetting to register, then to find out that there is a collision.

> 209 could be deemed to be definitely equivalent  equivalent to 303 "see also" to another URI which gives 200.  The Location: y   header from the 303 would be the same as the one used in the 209 to identify the URI of the meta resource.

Clarifying: you want to shortcut the 303->200 sequence? Where would you 
put the "other" URI in the 209 response? In Location? That really smells 
like a special case of 303 to me. Maybe augment 303 instead?

> The fact that existing LD systems use 303 and LDP systems are thinking of it is a serious architectural problem as the extra round trips.

Not if the 303 response contains sufficient information so that no round 
trip is required.

> The payload is machine readable in each case I am interested in.
>
> Example uses:
>
> - You asked for massive data, I give you instructions for doing a query for a part of it

That smells like 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-25.html#status.202>.

> - You asked for a large thing, this is the first page of it.  See Proposal [1]

Maybe 202 as well.

> - You asked for some thing with URI u, I give you a document about it which has a different URI. Classic linked data use case see eg [2]

That *is* 303, no?

> Possible process paths:
>
> - Just define 209 in the spec, as an unauthorized extension of HTTP.  People do this with headers and HTML tags all the time.  Do this with IESG blessing.   This may not be deemed an appropriate process with in the IETF which has change control.

You won't get IESG blessing for something that doesn't fulfill the 
registration requirements, which *currently* require IETF Review, which 
implies an RFC (see 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-25.html#status.code.registry.procedure>).

> - Start an IETF effort to define 209 from the ground up, ASAP.  Problems: the LDP working group's lack of confidence that the process would be timely and would not be waylaid by people who did not have/understand the needs of the linked data community.

Yes, that's the way to do it.

> - Reserve the 209 code with a an internet draft -- and then code it into current code, then other of the

There is no reservation process for status codes.

> - Etc ...  many other combinations
>
> Can we discuss this at the next call?
> Sorry about the short notice.
>
> Timbl
> ...

Best regards, Julian

Received on Thursday, 19 December 2013 17:16:02 UTC