Received: (qmail 3831 invoked by uid 2012); 1 Feb 1999 10:58:37 -0000 Message-Id: <19990201105837.3830.qmail@hyperreal.org> Date: 1 Feb 1999 10:58:37 -0000 From: Jacob Schroeder Reply-To: jschroeder@becomsys.de To: apbugs@hyperreal.org Subject: 100-continue is not send on errors (see also PR#3575) X-Send-Pr-Version: 3.2 >Number: 3806 >Category: protocol >Synopsis: 100-continue is not send on errors (see also PR#3575) >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Feb 1 05:10:00 PST 1999 >Last-Modified: Tue Apr 20 18:25:22 PDT 1999 >Originator: jschroeder@becomsys.de >Organization: >Release: 1.3.4 >Environment: Linux catilina.becomsys.de 2.0.36 #4 Fri Nov 20 12:03:23 MET 1998 i586 unknown >Description: If I send a POST request including an Expect: 100-continue header, but without transmitting the message body to a none-existing CGI-Skript, apache sends neither a 100 (Continue) nor a 404 (Not Found) response. It waits until it has read the entity-body completely and sends the 404 response then. This clearly violates chapter 8.2.3 (first server requirement) of the rev 6 of the HTTP/1.1 draft. 100-continue works pretty well, if the resource exits. Example: client->server POST /cgi-bin/test-cgi2 HTTP/1.1 Host: server.localnet:8080 Connection: close Content-Type: text/plain Content-Length: 11 Expect: 100-continue server->client: client->server: Hello World server->client: HTTP/1.1 404 Not Found Date: Mon, 01 Feb 1999 10:44:15 GMT Server: Apache/1.3.4 (Unix) Connection: close Transfer-Encoding: chunked Content-Type: text/html 11c 404 Not Found

Not Found

The requested URL /cgi-bin/test-cgi2 was not found on this server.


Apache/1.3.4 Server at linux4.localnet Port 8080
0 >How-To-Repeat: see above >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Tue Apr 20 18:25:21 PDT 1999 State-Changed-Why: There's a fix for this in PR#3910 http://bugs.apache.org/index/full/3910 it'll be in 1.3.7. Dean >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]