http://www.perlmonks.org?node_id=1036010


in reply to Re^3: Should LWP warn about wrong Content-Length? (it does)
in thread Should LWP warn about wrong Content-Length?

warning seems like a clumsy way to communicate this
For request it's probably OK. Because wrong Content-Length in request is must be programmer mistake. But wrong Content-Length in response is something programmer cannot control.

For response there are existing ways to report problem, like: HTTP 500 with 'Client-Warning'=> 'Internal response' header. Or 'X-Died' header (without changing http response code, i.e. it can be 200 OK)

which version do you have
perl -MLWP -e 'print LWP->VERSION' 6.05