Rodent of Unusual Size <[EMAIL PROTECTED]> writes:

> Blair Zajac wrote:
> > 
>       :
> > returns the headers with a duplicated HTTP/1.0 200 OK line:
> > 
> > HTTP/1.0 200 OK
> > Server: Microsoft-IIS/4.0
> > Date: Mon, 12 Nov 2001 22:47:35 GMT
> > HTTP/1.0 200 OK
> > Server: Microsoft-IIS/4.0
> > Date: Mon, 12 Nov 2001 22:47:35 GMT
> > 
> > With libwww 5.53 it'll return all of the headers and the
> > response and change the bad header line into:
> > 
> >         Client-Bad-Header-Line: HTTP/1.0 200 OK
> > 
> > but with 5.60 I get this:
> > 
> >         500 (Internal Server Error) Bad header: HTTP/1.0 200 OK
> >         Client-Date: Mon, 12 Nov 2001 23:02:45 GMT
> 
> The thing I find problematic about this is that LWP is making
> it look as though the *server* reported 500, when it's actually
> the client's interpretation placed on a server-sent [bogus] 200.

There used to be talk about having LWP use a different namespace for
the error status codes that it generates internally (for instance it
could use 59x) but it has never been implemented.

Regards,
Gisle

Reply via email to