Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: HTTP::Tiny losing headers for Stripe

by bliako (Monsignor)
on Jun 27, 2022 at 11:11 UTC ( #11145108=note: print w/replies, xml ) Need Help??


in reply to Re^2: HTTP::Tiny losing headers for Stripe
in thread HTTP::Tiny losing headers for Stripe

just save+restore 'headers' and its value as a ref, this is the only key being deleted, no need to clone. To deal in the longterm perhaps create your own post_form() which will restore the 'headers' key. That HTTP::Tiny behaviour is quite weird. I avoid to mess with user parameters unless i document it.

  • Comment on Re^3: HTTP::Tiny losing headers for Stripe

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-10-06 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (26 votes). Check out past polls.

    Notices?