Subject: | multipart/form-data, with only one param |
the following post
POST localhost HTTP/1.1
Host: router.example.com
Content-Length: 69
Content-Type: multipart/form-data; boundary=xYzZY
--xYzZY
Content-Disposition: form-data; name="test123"
testdata
--xYzZY--
does fail, because Email::Mime, detects one Mine part only.
In "sub _find_params":
Show quoted text
> if ( $self->mime->parts > 1 ) {
is not true.
The line should read
Show quoted text> if ( $self->mime->parts > 1 || ($self->mime->parts)[0] ne $self->mime ) {