There was an error while loading. Please reload this page.
1 parent 065a4c6 commit 7d502d6Copy full SHA for 7d502d6
Changes
@@ -2,6 +2,10 @@ Release notes for HTTP-Tiny
2
3
{{$NEXT}}
4
5
+ [FIXED]
6
+
7
+ - No longer deletes the 'headers' key from post_form arguments hashref.
8
9
0.080 2021-11-05 08:15:46-04:00 America/New_York
10
11
- No changes from 0.079-TRIAL.
lib/HTTP/Tiny.pm
@@ -247,6 +247,8 @@ sub post_form {
247
}
248
249
return $self->request('POST', $url, {
250
+ # Any existing 'headers' key in $args will be overridden with a
251
+ # normalized version below.
252
%$args,
253
content => $self->www_form_urlencode($data),
254
headers => {
0 commit comments