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

David Christensen <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
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 <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.