Re: use of Warning in request messages

On 14/09/2013, at 7:30 AM, Roy T. Fielding <fielding@gbiv.com> wrote:

> When editing the definition of Warning last night, I noticed
> that it claims to be applicable to both request and response
> messages.  That is surprising (and not in a good way).
> 
> I don't see how sending Warning in a request would ever be useful.
> At best, it might mistakenly be stored in a PUT.
> 
> Does anyone know?  Can I make Warning specific to responses?


2616 said:

> Warning headers can in general be applied to any message, however some specific warn-codes are specific to caches and can only be applied to response messages.

The case that I can think of is a non-transparent intermediary changing a request payload. 

*shrug*

Cheers,


--
Mark Nottingham   http://www.mnot.net/

Received on Tuesday, 17 September 2013 01:00:24 UTC