Doesn't it already do that?
'GET' implies very old version of LWP
http://cpansearch.perl.org/src/GAAS/libwww-perl-6.05/lib/LWP/Protocol/http.pm
warn "Content-Length header value was wrong, fixed"; warn "Content-Length set when there is no content, fixed";
In reply to Re: Should LWP warn about wrong Content-Length? (it does)
by Anonymous Monk
in thread Should LWP warn about wrong Content-Length?
by vsespb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |