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


in reply to "Bad" http headers in LWP::UserAgent

Should Accept Text/Xml: multipart/related be Accept: ...? See RFC 2616. IIRC, header names are not supposed to have spaces in them (check my memory, please).

What reason are you looking to disable some of the features that LWP is able to support under the hood? Is the server unable to handle those? Or are these changes trying to 'fix' some other symptom that you are seeing.

If you do need to remove these headers, fine, but with my question on the Accept header, I am wondering if this might be a bug hunt with the wrong target.

--MidLifeXis