Re: 1xx response forwarding and ignore_expect_100

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 24 Aug 2010 17:16:25 -0600

On 08/24/2010 04:56 PM, Henrik Nordström wrote:
> mån 2010-08-23 klockan 15:18 -0600 skrev Alex Rousskov:
>
>> drop_expect_100 on|off
>>
>> but still send an Expect: 100-continue request. As a side effect,
>> it will prevent forwarding of 100 (Continue) control messages to
>> HTTP/1.0 clients that send Expect: 100-continue headers.
>
> I do not think we ever should forward 100-continue to HTTP/1.0 clients
> even if there was an Expect: 100-continue header. Doing so just asks for
> trouble. Just see our own HTTP/1.0 history of handling 100 responses..

RFC 2616 implies that we must forward 100-continue to HTTP/1.0 clients
that send Expect: 100-continue header:

> - A proxy MUST NOT forward a 100 (Continue) response if the
> request message was received from an HTTP/1.0 (or earlier)
> client and did not include an Expect request-header field with
> the "100-continue" expectation. This requirement overrides the
> general rule for forwarding of 1xx responses (see section 10.1).

and here is the relevant part of the "general rule":

> 10.1 Informational 1xx
>
> ...
> Proxies MUST forward 1xx responses

Does the above RFC requirements change your opinion on forwarding 100
(Continue) to HTTP/1.0 clients that send Expect: 100-continue header?

Thank you,

Alex.
Received on Tue Aug 24 2010 - 23:16:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 25 2010 - 12:00:05 MDT