[interchange-cvs] [SCM] Interchange branch, master, updated. REL_5_7_2-1-g129c722

David Christensen interchange-cvs at icdevgroup.org
Fri Sep 25 02:10:14 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  129c72277b366c802f96bb52a705c3e77096643d (commit)
      from  c410ecf2695f588f5a6226af93696a3dfb0added (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 129c72277b366c802f96bb52a705c3e77096643d
Author: David Christensen <david at endpoint.com>
Date:   Thu Sep 24 20:24:03 2009 -0500

    Fix empty charset= lines the default case when no $Vend::StatusLine is previously set

-----------------------------------------------------------------------

Summary of changes and diff:
 lib/Vend/Server.pm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/lib/Vend/Server.pm b/lib/Vend/Server.pm
index 2de3daf..ebbb7f3 100644
--- a/lib/Vend/Server.pm
+++ b/lib/Vend/Server.pm
@@ -719,7 +719,12 @@ sub respond {
 		print $fh canon_status($Vend::StatusLine);
 	}
 	elsif(! $Vend::ResponseMade) {        
-		print $fh canon_status("Content-Type: text/html; charset=$response_charset");
+		if ($response_charset) {
+			print $fh canon_status("Content-Type: text/html; charset=$response_charset");
+		}
+		else {
+			print $fh canon_status("Content-Type: text/html");
+		}
 # TRACK
 		print $fh canon_status("X-Track: " . $Vend::Track->header())
 			if $Vend::Track and $Vend::Cfg->{UserTrack};


hooks/post-receive
-- 
Interchange



More information about the interchange-cvs mailing list