Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: "Bad" http headers in LWP::UserAgent

by MidLifeXis (Prior)
on Sep 19, 2012 at 12:58 UTC ( #994455=note: print w/ replies, xml ) Need Help??


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


Comment on Re: "Bad" http headers in LWP::UserAgent
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2014-08-22 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls