Ulrich Wisser <[EMAIL PROTECTED]> writes:

> to me it seems very odd, that there is no defined
> way to tell if the response->code is generated by
> libwww (e.g. name does nor resolv) or in fact by
> the contacted server.

It has at least been discussed many times.

> Therefor I would like to suggest to set a "Client-Error"
> header in case libwww sets the error code. Already
> a "Client-Date" is set to mark the time the request was
> finished, so I guess a "Client-Error" would be consitent
> with that and provide additional information.

At some point we talked about using a separate range of status codes
for internal errors (like 59x).  This would make these error stand out
even more for applications that does not look for Client-Error.

> I would volunteer to make the changes to LWP::UserAgent
> LWP::Protocols::http and LWP::Protocols::https.

Which ftp: and file: errors should be regarded as internal?  

> Gisle, could this be included in the distribution?

Let's see the patch first.

Regards,
Gisle

Reply via email to