Some server side libraries do not accept multipart/form-data boundaries with less than 5 dashes. Changing the line in sub boundary from my $size = shift || return "xYzZY"; to my $size = shift || return "-----xYzZY"; fixes the problem.
This queue is for tickets about the HTTP-Message CPAN distribution.
This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.
Please report any issues with rt.cpan.org to email@example.com.