Subject: | warning when using undef as value in post with form_data |
This was not an issue prior to version 6.07.
Undef is supposed to be a valid value for content, but it now results in the following warning only when the content_type is set to form-data:
Use of uninitialized value $v in concatenation (.) or string at .../HTTP/Request/Common.pm line 142
Example snippet:
my $res = $ua->post(
'https://www.google.com/',
content_type => "multipart/form-data; boundary=----1234",
content => [ a => 1, b => undef ],
);