chansen / p5-http-tiny

Tiny HTTP Client
https://metacpan.org/dist/HTTP-Tiny
53 stars 52 forks source link

post_form - don't delete from incoming options hashref #149

Closed haarg closed 2 years ago

haarg commented 2 years ago

Don't delete from the incoming options hashref, as the user may be using it for other purposes.

Deleting the headers hash entry is not needed, as the hashref constructed for the call to request will include its own headers entry which will override the entry from the incoming options.