Skip to content

Commit 7d502d6

Browse files
committed
Update changes and add explanatory comment
1 parent 065a4c6 commit 7d502d6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Release notes for HTTP-Tiny
22

33
{{$NEXT}}
44

5+
[FIXED]
6+
7+
- No longer deletes the 'headers' key from post_form arguments hashref.
8+
59
0.080 2021-11-05 08:15:46-04:00 America/New_York
610

711
- No changes from 0.079-TRIAL.

lib/HTTP/Tiny.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ sub post_form {
247247
}
248248

249249
return $self->request('POST', $url, {
250+
# Any existing 'headers' key in $args will be overridden with a
251+
# normalized version below.
250252
%$args,
251253
content => $self->www_form_urlencode($data),
252254
headers => {

0 commit comments

Comments
 (0)