-sub parse_multipart_formdata {
- my ($target, $input) = @_;
- my ($name, $filename, $headers_done, $content_type, $boundary_found, $need_cr, $previous);
- my $uploads = {};
+sub _parse_multipart_formdata {
+ my ($target, $temp_target, $input) = @_;
+ my ($name, $filename, $headers_done, $content_type, $boundary_found, $need_cr, $previous, $encoding, $transfer_encoding);
+
+ # We SHOULD honor encodings and transfer-encodings here, but as hard as I
+ # looked I couldn't find a reasonably recent webbrowser that makes use of
+ # these. Transfer encoding just eats up bandwidth...