Subject: | Doc change needed: LWP::UserAgent request method returns 500 for refused connections |
This is a request for documentation change.
Unfortunately, LWP::UserAgent->request return a valid response object
marked with a 500 HTTP status code when a connection is refused or other
meta-errors occur.
Given that this (arguably very broken) behavior can't be changed because
of concerns of backwards compatibility, *it must be documented*.
Please document the situations in which HTTP status codes are overloaded
to represent non-HTTP-response conditions.