From apwww@hyperreal.org Tue Aug 19 04:06:54 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id EAA07722; Tue, 19 Aug 1997 04:06:54 -0700 (PDT) Message-Id: <199708191106.EAA07722@hyperreal.org> Date: Tue, 19 Aug 1997 04:06:54 -0700 (PDT) From: Ka-Ping Yee Reply-To: ping@parc.xerox.com To: apbugs@hyperreal.org Subject: HTTP/1.1 requests not understood? X-Send-Pr-Version: 3.2 >Number: 1013 >Category: protocol >Synopsis: HTTP/1.1 requests not understood? >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Aug 19 04:10:00 1997 >Originator: ping@parc.xerox.com >Organization: >Release: 1.2b10 and 1.3a2-dev >Environment: Linux 2.0.25 on i686 (Apache 1.2b10) and your site www.apache.org (1.3a2-dev) >Description: Not the same as the infamous HTTP/1.1 reply debate. When i specify "HTTP/1.1" on the request line, Apache says it cannot understand the request. If it supports HTTP/1.1 in its responses, i assume that it should also support HTTP/1.1 in requests, right? >How-To-Repeat: Connect directly to Apache with Telnet and type "GET / HTTP/1.1": % telnet www.apache.org 80 Trying 204.62.130.149... Connected to www.apache.org. Escape character is '^]'. GET / HTTP/1.1 HTTP/1.1 400 Bad Request Date: Tue, 19 Aug 1997 11:04:43 GMT Server: Apache/1.3a2-dev Connection: close Transfer-Encoding: chunked Content-Type: text/html a4 400 Bad Request

Bad Request

Your browser sent a request that this server could not understand.

0 Connection closed by foreign host. >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: ben State-Changed-When: Tue Aug 19 04:33:09 PDT 1997 State-Changed-Why: User was not using a correctly formed HTTP/1.1 request. From: Dean Gaudet To: Ben Laurie Subject: Re: protocol/1013: HTTP/1.1 requests not understood? Date: Tue, 19 Aug 1997 09:48:07 -0700 (PDT) On Tue, 19 Aug 1997, Ben Laurie wrote: > Ka-Ping Yee wrote: > > > > >Number: 1013 > > >Category: protocol > > >Synopsis: HTTP/1.1 requests not understood? > > % telnet www.apache.org 80 > > Trying 204.62.130.149... > > Connected to www.apache.org. > > Escape character is '^]'. > > GET / HTTP/1.1 > > This is not a correct HTTP/1.1 request. Wow and I thought I was terse! You're missing the Host: header. See RFC2068. Dean From: Ka-Ping Yee To: Dean Gaudet Subject: Re: protocol/1013: HTTP/1.1 requests not understood? Date: Tue, 19 Aug 1997 12:03:25 PDT Dean Gaudet wrote: > > On Tue, 19 Aug 1997, Ben Laurie wrote: > > This is not a correct HTTP/1.1 request. > > Wow and I thought I was terse! You're missing the Host: header. See > RFC2068. My apologies for wasting your time. I didn't notice the requirement. Ping From: Ben Laurie To: Dean Gaudet Subject: Re: protocol/1013: HTTP/1.1 requests not understood? Date: Tue, 19 Aug 1997 20:10:29 +0100 Dean Gaudet wrote: > > On Tue, 19 Aug 1997, Ben Laurie wrote: > > > Ka-Ping Yee wrote: > > > > > > >Number: 1013 > > > >Category: protocol > > > >Synopsis: HTTP/1.1 requests not understood? > > > % telnet www.apache.org 80 > > > Trying 204.62.130.149... > > > Connected to www.apache.org. > > > Escape character is '^]'. > > > GET / HTTP/1.1 > > > > This is not a correct HTTP/1.1 request. > > Wow and I thought I was terse! You're missing the Host: header. See > RFC2068. Sorry, I hadn't had my coffee yet :-) Cheers, Ben. -- Ben Laurie |Phone: +44 (181) 994 6435|Apache Group member Freelance Consultant |Fax: +44 (181) 994 6472|http://www.apache.org and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author A.L. Digital Ltd, |http://www.algroup.co.uk/Apache-SSL London, England. |"Apache: TDG" http://www.ora.com/catalog/apache >Unformatted: >Last-Modified: Tue Aug 19 04:33:09 PDT 1997