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.
In reply to Re^3: HTTP::Tiny losing headers for Stripe
by bliako
in thread HTTP::Tiny losing headers for Stripe
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |