Re: IIS 5.1 not working Help

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 00:25:09 -0800

Hello,

1. RFC 822, section 3 says that it is case-insensitive. So both GET and
get should work. Note however that HTTP is case-sensitive. So HTTP and
http is not equal, hence the problem Roland has with his lower case test.
That means that:
get / HTTP/1.1 will work, but
GET / http/1.1 will not work.

2. RFC 2616, section 4 says this:

"Request (section 5) and Response (section 6) messages use the generic
message format of RFC 822 [9] for transferring entities (the payload of
the message). Both types of message consist of a start-line, zero or more
header fields (also known as "headers"), an empty line (i.e., a line with
nothing preceding the CRLF) indicating the end of the header fields, and
possibly a message-body."

So you need to press enter twice to get that extra CRLF to end the header
fields section.

-- 
Regards,
Kristofer Gafvert
www.gafvert.info - My articles and help
www.ilopia.com
Jason Brown [MSFT] wrote:
> Just to jump back in, I just tested your assertions on telnet.
>
> 1. it doesn't need to be uppercase
> 2. you don't need to press enter twice.
>
> I'm not sure what client you're using or indeed what HTTP server you 
tested
> against but with the default Win XP client against IIS 5.1 neither of the
> above is correct. You're right in saying if it doesn't connect you can't
> issue a GET request, but with the XP client you don't get a lot of useful
> feedback on whether it's connected or not by default. just so we're all
> clear.
>
> what client are you using?