You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jimmy Lee <ji...@emotum.com> on 2007/08/17 08:46:17 UTC
[users@httpd] suppressing HTTP 100 continue
Hi,
I'm working with some devices that can't handle 100 continues.
Is there a way to apply filters to apache to stop it from sending HTTP 100?
Or is the only way to hack the base code?
Thanks,
Jimmy
RE: [users@httpd] suppressing HTTP 100 continue
Posted by Jimmy Lee <ji...@emotum.com>.
Hmmm, I'll try that and test it with the client.
Thanks Tom!
-----Original Message-----
From: Tom Donovan [mailto:donovant@bellatlantic.net]
Sent: Monday, 20 August 2007 11:16 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] suppressing HTTP 100 continue
Jimmy Lee wrote:
> 1. The client can't be modified.
> 2. The client doesn't send "Expect".
> 3. The client claims to use HTTP1.1 (but ironically doesn't support 100
> contine!)
>
> Will apache still send random 100 continues? IIS does that. The RFC 2616
> * Jimmy Lee wrote:
>
>> I'm working with some devices that can't handle 100 continues.
>>
Setting the "downgrade-1.0" environment variable might do what you want,
if your client will accept HTTP 1.0 responses.
The Apache 2.2 docs for "downgrade-1.0" are at
http://httpd.apache.org/docs/2.2/env.html#special
-tom-
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suppressing HTTP 100 continue
Posted by Tom Donovan <do...@bellatlantic.net>.
Jimmy Lee wrote:
> 1. The client can't be modified.
> 2. The client doesn't send "Expect".
> 3. The client claims to use HTTP1.1 (but ironically doesn't support 100
> contine!)
>
> Will apache still send random 100 continues? IIS does that. The RFC 2616
> * Jimmy Lee wrote:
>
>> I'm working with some devices that can't handle 100 continues.
>>
Setting the "downgrade-1.0" environment variable might do what you want,
if your client will accept HTTP 1.0 responses.
The Apache 2.2 docs for "downgrade-1.0" are at
http://httpd.apache.org/docs/2.2/env.html#special
-tom-
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suppressing HTTP 100 continue
Posted by André Malo <nd...@perlig.de>.
* Jimmy Lee wrote:
> If that's really true, that saves me lots of headaches. Are you sure?
You can check for yourself :-)
<http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/modules/http/http_filters.c>
(search for expecting_100).
expecting_100 is set on "Expect: 100-continue" request header in
<http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/server/protocol.c>
nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] suppressing HTTP 100 continue
Posted by Jimmy Lee <ji...@emotum.com>.
If that's really true, that saves me lots of headaches. Are you sure?
Thanks!
-----Original Message-----
From: André Malo [mailto:nd@perlig.de]
Sent: Monday, 20 August 2007 5:25 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] suppressing HTTP 100 continue
* Jimmy Lee wrote:
> 1. The client can't be modified.
> 2. The client doesn't send "Expect".
> 3. The client claims to use HTTP1.1 (but ironically doesn't support 100
> contine!)
>
> Will apache still send random 100 continues?
No, it won't.
nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suppressing HTTP 100 continue
Posted by André Malo <nd...@perlig.de>.
* Jimmy Lee wrote:
> 1. The client can't be modified.
> 2. The client doesn't send "Expect".
> 3. The client claims to use HTTP1.1 (but ironically doesn't support 100
> contine!)
>
> Will apache still send random 100 continues?
No, it won't.
nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] suppressing HTTP 100 continue
Posted by Jimmy Lee <ji...@emotum.com>.
1. The client can't be modified.
2. The client doesn't send "Expect".
3. The client claims to use HTTP1.1 (but ironically doesn't support 100
contine!)
Will apache still send random 100 continues? IIS does that. The RFC 2616
seems to allow it.
So if apache does send 100 continue without Expects', I want to know if
there's any way to suppress it at all.
-----Original Message-----
From: André Malo [mailto:nd@perlig.de]
Sent: Friday, 17 August 2007 5:59 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] suppressing HTTP 100 continue
* Jimmy Lee wrote:
> I'm working with some devices that can't handle 100 continues.
>
> Is there a way to apply filters to apache to stop it from sending HTTP
> 100? Or is the only way to hack the base code?
RFC 2616 (8.2.3):
> An origin server SHOULD NOT send a 100 (Continue) response if
> the request message does not include an Expect request-header
> field with the "100-continue" expectation, and MUST NOT send a
> 100 (Continue) response if such a request comes from an HTTP/1.0
> (or earlier) client. There is an exception to this rule: for
> compatibility with RFC 2068, a server MAY send a 100 (Continue)
> status in response to an HTTP/1.1 PUT or POST request that does
> not include an Expect request-header field with the "100-
> continue" expectation. This exception, the purpose of which is
> to minimize any client processing delays associated with an
> undeclared wait for 100 (Continue) status, applies only to
> HTTP/1.1 requests, and not to requests with any other HTTP-
> version value.
So, teach the clients to not send the Expect header and/or use HTTP/1.0.
Apache does not send the header without the client "Expect"ing it.
HTH, nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suppressing HTTP 100 continue
Posted by André Malo <nd...@perlig.de>.
* Jimmy Lee wrote:
> I'm working with some devices that can't handle 100 continues.
>
> Is there a way to apply filters to apache to stop it from sending HTTP
> 100? Or is the only way to hack the base code?
RFC 2616 (8.2.3):
> An origin server SHOULD NOT send a 100 (Continue) response if
> the request message does not include an Expect request-header
> field with the "100-continue" expectation, and MUST NOT send a
> 100 (Continue) response if such a request comes from an HTTP/1.0
> (or earlier) client. There is an exception to this rule: for
> compatibility with RFC 2068, a server MAY send a 100 (Continue)
> status in response to an HTTP/1.1 PUT or POST request that does
> not include an Expect request-header field with the "100-
> continue" expectation. This exception, the purpose of which is
> to minimize any client processing delays associated with an
> undeclared wait for 100 (Continue) status, applies only to
> HTTP/1.1 requests, and not to requests with any other HTTP-
> version value.
So, teach the clients to not send the Expect header and/or use HTTP/1.0.
Apache does not send the header without the client "Expect"ing it.
HTH, nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org