Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
P is for Practical
 
PerlMonks  

Re: LWP Authorisation issue

by daxim (Chaplain)
on Feb 26, 2013 at 08:58 UTC ( #1020636=note: print w/ replies, xml ) Need Help??


in reply to LWP Authorisation issue

Install Wireshark instead, it'll go quicker than learning how to use HTTP::Recorder. Record the working curl request/response.

Select Analyze → Display filters…, select HTTP and press OK. Select the curl request in the main window. Select Analyze → Follow TCP Stream. The dialog shows now the request/response pair in text form. Copy and paste this text here to Perlmonks.


Comment on Re: LWP Authorisation issue
Re^2: LWP Authorisation issue
by Anonymous Monk on Feb 26, 2013 at 09:02 UTC

    Install Wireshark instead ...

    I don't like this advice, it shifts the burden of recreating HTTP::Request objects onto humans, when HTTP::Recorder can do it for you

    IMHO this is not reasonable, we're monks, not monkeys

      And I don't like your advice (assuming you are the same anonymonk as in Re: LWP Authorisation issue (not really)). With Wireshark, this matter would already be resolved within minutes, and instead kapila gets send into a dead end that costs him already a day.

      When you volunteer to help people here, then optimise your processes for them, not yourself. Else, why bother? Half-arsedness does more harm than not helping at all.

        Wireshark, this matter would already be resolved within minutes,

        Wishful thinking

        When you volunteer to help people here, then optimise your processes for them, not yourself. Else, why bother? Half-arsedness does more harm than not helping at all.

        OP has curl, his curl option works -- curl has debug option to dump http conversation, so there was never any need for livehttpheaders/wireshark/httprecorder

        But its not like I already told the OP this , OP has free will

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-04-17 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls