Skip Menu |

This queue is for tickets about the WWW-Mailgun CPAN distribution.

Report information
The Basics
Id: 87706
Status: new
Priority: 0/
Queue: WWW-Mailgun

People
Owner: Nobody in particular
Requestors: simon [...] papercreatures.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Doesn't allow multiple attachments
Date: Thu, 8 Aug 2013 12:25:26 +0100
To: bug-WWW-Mailgun [...] rt.cpan.org
From: Simon Elliott <simon [...] papercreatures.com>
HTTP:Request::Common will automatically read the file if the argument is an arrayref(!), but the only way to provide multiple files to it is to add the header several times. Since WWW::Mailgun only takes arguments as a hashref it is impossible to set the header multiple times. Suggested fix cast the supplied arguments to an array and re-add attachment/inline headers multiple times if they are set before passing to H/R/C Thanks