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

[...]

Received on Monday, 23 March 1998 19:05:35 UTC