Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

100-continue response when 3xx expected - Apache 2.2.26

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


Curzio.Dellasanta at Sun

May 16, 2008, 6:22 AM

Post #1 of 2 (77 views)
Permalink
100-continue response when 3xx expected - Apache 2.2.26

Hi,

I see a difference in the way Apache responds to a Expect:
100-continue header in version 1.3.28 vs 2.2.6. The 1.3.28 handling is
correct. I feel the 2.2.6 handling is a bug.

For PUT requests with a Expect: 100-continue header, Apache 2.2.6
server sends a HTTP/1.1 100 Continue response before checking to see
if a 3xx response (redirect) might need to be sent for the request.

The client ends up sending the entire PUT or POST body in response to
the 100 continue only to have it be ignored by the server due to a
3xx.
This defeats the purpose of the continue response stated in the HTTP 1.1
RFC - http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3

Pretty the same issue was reported by ragini.bisarya on Oct 15 2007 for
4xx responses .. see Bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=43711
Looking at the patch provided for the 4xx bug I doubt it solves this
issue too, but I've no resources to check this out.

To reproduce this you can issue a "curl -v -L -T [file] [url to an
apache2.2 server redirected page]"

Should I file a new bug for this?

Greetings,
Curzio


---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


nick at webthing

May 16, 2008, 6:34 AM

Post #2 of 2 (73 views)
Permalink
Re: 100-continue response when 3xx expected - Apache 2.2.26 [In reply to]

On Fri, 16 May 2008 15:22:29 +0200
Curzio Della Santa <Curzio.Dellasanta[at]Sun.COM> wrote:

> Pretty the same issue was reported by ragini.bisarya on Oct 15 2007
> for 4xx responses .. see Bug
> https://issues.apache.org/bugzilla/show_bug.cgi?id=43711
> Looking at the patch provided for the 4xx bug I doubt it solves this
> issue too, but I've no resources to check this out.

You're right, that patch won't catch 3xx.

> Should I file a new bug for this?

I think that would be a good idea. A post to this list gets
forgotten (unless someone fixes it immediately). On bugzilla
it's a constant reminder, until it gets fixed.

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.