From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <
dc5c751d0602190058t78d915fv78c6318370307b63@mail.gmail.com>
p4raw-id: //depot/perl@27255
Jose Auguste-Etienne <Jose.auguste-etienne@cgss-guyane.fr>
Joseph N. Hall <joseph@cscaper.com>
Joseph S. Myers <jsm28@hermes.cam.ac.uk>
+Joshua ben Jore <jjore@cpan.org>
Joshua E. Rodd <jrodd@pbs.org>
Joshua Pritikin <joshua.pritikin@db.com>
Joost van Baal <J.E.vanBaal@uvt.nl>
($_ = $header) =~ s/^(\w)(.*)/"\u$1\L$2" . ': '.$self->unescapeHTML($value)/e;
}
- $type .= "; charset=$charset" if $type ne '' and $type !~ /\bcharset\b/ and $charset ne '';
+ $type .= "; charset=$charset"
+ if $type ne ''
+ and $type !~ /\bcharset\b/
+ and defined $charset
+ and $charset ne '';
# Maybe future compatibility. Maybe not.
my $protocol = $ENV{SERVER_PROTOCOL} || 'HTTP/1.0';