RE: mandatory / extensions / options
From: Josh Cohen (joshco@microsoft.com)
Date: Mon, Mar 23 1998
Message-ID: <8B57882C41A0D1118F7100805F9F68B5CB8B5D@red-msg-45.dns.microsoft.com>
From: Josh Cohen <joshco@microsoft.com>
To: "'Marc Slemko'" <marcs@znep.com>
Cc: "'ietf-http-ext@w3.org'" <ietf-http-ext@w3.org>
Date: Mon, 23 Mar 1998 16:17:56 -0800
Subject: RE: mandatory / extensions / options
oh shoot.
(hanging head in shame.)
my test was from a sun actually, but our
telnet gateway was hosing me exactly as you
describe.
Yes, netcat does rule and so does _H*.
(He was my introduction to the net back on gold
at rutgers)
> -----Original Message-----
> From: Marc Slemko [mailto:marcs@znep.com]
> Sent: Monday, March 23, 1998 4:05 PM
> To: Josh Cohen
> Cc: 'ietf-http-ext@w3.org'
> Subject: RE: mandatory / extensions / options
>
>
> On Mon, 23 Mar 1998, Josh Cohen wrote:
>
> > thats what I thought..
> > (www.lag.net is my own server)
> > Trying 204.62.130.149 port 80...
> > Connected to www.apache.org.
> > GET http://www.apache.org/ HTTP/1.1
> > Host: www.apache.org
> >
> > HTTP/1.1 400 Bad Request
> > Date: Mon, 23 Mar 1998 23:54:25 GMT
> > Server: Apache/1.3b6-dev
> > Connection: close
> > Content-Type: text/html
>
> My guess would be because you are using a telnet client that isn't
> nice about its options negotiation. netcat rules, even for Windows.
>
> I would guess this would be you (non-ASCII translated into <xx>):
>
> www.apache.org|131.107.3.12|<FF><FB>^X<FF><FB>^_<FF><FB>
> <FF><FB>!<FF><FB>"<FF><FB>'<FF><FB>#GET
> http://www.apache.org/
> HTTP/1.1|text/html|400|1998/03/23-15:44:33|-|164|-|-|-|-
> www.apache.org|131.107.3.12|<FF><FB>^X<FF><FB>^_<FF><FB>
> <FF><FB>!<FF><FB>"<FF><FB>'<FF><FB>#GET
> http://www.apache.org/
> HTTP/1.1|text/html|400|1998/03/23-15:52:54|-|164|-|-|-|-
> www.apache.org|131.107.3.12|<FF><FB>^X<FF><FB>^_<FF><FB>
> <FF><FB>!<FF><FB>"<FF><FB>'GET http://www.apache.org/
> HTTP/1.1|text/html|400|1998/03/23-15:54:29|-|164|-|-|-|-
>
> So yes, Apache does reject such requests. <g>
>
> My attempt:
>
> Trying 204.62.130.149...
> Connected to www.apache.org.
> Escape character is '^]'.
> GET http://www.apache.org/ HTTP/1.1
> Host: www.apache.org
>
> HTTP/1.1 200 OK
> Date: Tue, 24 Mar 1998 00:04:17 GMT
> Server: Apache/1.3b6-dev
> Cache-Control: max-age=86400
> Expires: Wed, 25 Mar 1998 00:04:17 GMT
> Transfer-Encoding: chunked
> Content-Type: text/html
>
> [...]
>