Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 6 HTTP GET Request Fails if headers have LF instead of..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 5.0 utility for controlling crashes & low..  
Author Message
theshadow330

External


Since: Aug 27, 2003
Posts: 1



(Msg. 1) Posted: Wed Aug 27, 2003 7:58 am
Post subject: IIS 6 HTTP GET Request Fails if headers have LF instead of CRLF
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have the following problem:

I submit GET requests to an IIS 6 server. I have specific headers that
are separated by linefeeds (char 10, \r). Under IIS 5, these requests
are processed fine. But under IIS6, it is ignoring these headers. To
get things to work I have to use carriage return and a linefeed (char
13 + char 10, \r\n).

Can anyone tell me why this has changed under IIS6?

Can anyone tell me if it is possible to configure this behaviour under
IIS 6 and how to change it back to accepting purely a \n character
between hearders?

It should be noted that it is not a viable option for me to change the
code that generates the headers.

Any help would be appreciated!

thanks, Andrew

 >> Stay informed about: IIS 6 HTTP GET Request Fails if headers have LF instead of.. 
Back to top
Login to vote
jerryiii

External


Since: Aug 26, 2003
Posts: 171



(Msg. 2) Posted: Wed Aug 27, 2003 5:37 pm
Post subject: Re: IIS 6 HTTP GET Request Fails if headers have LF instead of CRLF [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

IIS is finally adhering to standards. HTTP uses CRLF pairs to separate
lines, requests that use LF only are not valid HTTP requests and as such
should be ignored (well, IIS should reply with 400).

Jerry

"Andrew" <theshadow330 RemoveThis @hotmail.com> wrote in message
news:d7085cb6.0308270358.4adfc942@posting.google.com...
 > I have the following problem:
 >
 > I submit GET requests to an IIS 6 server. I have specific headers that
 > are separated by linefeeds (char 10, \r). Under IIS 5, these requests
 > are processed fine. But under IIS6, it is ignoring these headers. To
 > get things to work I have to use carriage return and a linefeed (char
 > 13 + char 10, \r\n).
 >
 > Can anyone tell me why this has changed under IIS6?
 >
 > Can anyone tell me if it is possible to configure this behaviour under
 > IIS 6 and how to change it back to accepting purely a \n character
 > between hearders?
 >
 > It should be noted that it is not a viable option for me to change the
 > code that generates the headers.
 >
 > Any help would be appreciated!
 >
 > thanks, Andrew<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS 6 HTTP GET Request Fails if headers have LF instead of.. 
Back to top
Login to vote
nospam86

External


Since: Aug 28, 2003
Posts: 1



(Msg. 3) Posted: Thu Aug 28, 2003 12:11 pm
Post subject: Re: IIS 6 HTTP GET Request Fails if headers have LF instead of CRLF [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Jerry,

Thanks for the details.

I have no idea why this has been coded this way (all i know is it needs to
be fixed Smile

What I do know is that IIS chokes and just sits there waiting for more data.

Thanks, Andrew

"Jerry III" <jerryiii.TakeThisOut@hotmail.com> wrote in message
news:ONQu6NObDHA.2960@tk2msftngp13.phx.gbl...
 > IIS is finally adhering to standards. HTTP uses CRLF pairs to separate
 > lines, requests that use LF only are not valid HTTP requests and as such
 > should be ignored (well, IIS should reply with 400).
 >
 > Jerry
 >
 > "Andrew" <theshadow330.TakeThisOut@hotmail.com> wrote in message
 > news:d7085cb6.0308270358.4adfc942@posting.google.com...
  > > I have the following problem:
  > >
  > > I submit GET requests to an IIS 6 server. I have specific headers that
  > > are separated by linefeeds (char 10, \r). Under IIS 5, these requests
  > > are processed fine. But under IIS6, it is ignoring these headers. To
  > > get things to work I have to use carriage return and a linefeed (char
  > > 13 + char 10, \r\n).
  > >
  > > Can anyone tell me why this has changed under IIS6?
  > >
  > > Can anyone tell me if it is possible to configure this behaviour under
  > > IIS 6 and how to change it back to accepting purely a \n character
  > > between hearders?
  > >
  > > It should be noted that it is not a viable option for me to change the
  > > code that generates the headers.
  > >
  > > Any help would be appreciated!
  > >
  > > thanks, Andrew
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 6 HTTP GET Request Fails if headers have LF instead of.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]