From 9f14dd026cffccd83c6087923be2c9760bb7a016 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 15 Aug 2011 10:27:54 +0200 Subject: [PATCH] UCW::CGI: Cosmetic changes in capitalization of HTTP headers --- ucw/perl/UCW/CGI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucw/perl/UCW/CGI.pm b/ucw/perl/UCW/CGI.pm index 73238a5b..ff06a15a 100644 --- a/ucw/perl/UCW/CGI.pm +++ b/ucw/perl/UCW/CGI.pm @@ -32,7 +32,7 @@ sub report_bug($) if (defined($UCW::CGI::error_hook)) { &$UCW::CGI::error_hook($_[0]); } else { - print "Content-type: text/plain\n\n"; + print "Content-Type: text/plain\n\n"; print "Internal bug:\n"; print $_[0], "\n"; print "Please notify $UCW::CGI::error_mail\n" if defined $UCW::CGI::error_mail; @@ -341,7 +341,7 @@ sub parse_multipart_form_data() { # BUG: IE 3.01 on Macintosh forgets to add the "--" at the start of the boundary string # as the MIME specs preach. Workaround borrowed from CGI.pm in Perl distribution. - my $agent = http_get("User-agent") || ""; + my $agent = http_get("User-Agent") || ""; $boundary = "--$boundary" unless $agent =~ /MSIE\s+3\.0[12];\s*Mac/; $boundary = "\r\n$boundary"; $boundary_len = length($boundary) + 2; -- 2.39.5