mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
More debugging information
This commit is contained in:
parent
db5300432e
commit
c3c220e21a
@ -68,9 +68,11 @@ sub decodeHTTPArguments {
|
||||
|
||||
# parse the MIME body
|
||||
local $/ = undef;
|
||||
my $entity = $parser->parse_data('Content-Type: ' . $self->CONTENT_TYPE . "\n" .
|
||||
'Content-Length: ' . $self->CONTENT_LENGTH . "\n" .
|
||||
"\n" . <STDIN>);
|
||||
my $data = 'Content-Type: ' . $self->CONTENT_TYPE . "\n" .
|
||||
'Content-Length: ' . $self->CONTENT_LENGTH . "\n" .
|
||||
"\n" . <STDIN>;
|
||||
$self->dump(9, "Data was:\n==============================\n$data\n==============================");
|
||||
my $entity = $parser->parse_data($data);
|
||||
|
||||
# handle the parts of the MIME body
|
||||
# read up to 16KB, no more
|
||||
|
Loading…
Reference in New Issue
Block a user