]> granicus.if.org Git - graphviz/commitdiff
Applied webdot-content-type-semicolon.diff from Ryan Schmidt.
authorellson <devnull@localhost>
Tue, 17 Feb 2009 14:13:25 +0000 (14:13 +0000)
committerellson <devnull@localhost>
Tue, 17 Feb 2009 14:13:25 +0000 (14:13 +0000)
1. It outputs a colon at the end of the Content-Type header it sends, which is odd. The first patch removes the semicolon.

contrib/webdot.cgi

index 286a0870df3643154d7fd01cbf13c780efe28b8c..00e9fa4708cd4d970b1b1bf1b3d03cced31d180a 100755 (executable)
@@ -268,7 +268,7 @@ sub show_results {
     my $size = length($TheGoods);
 
     print <<EOF ;
-Content-type: $ContentType;
+Content-type: $ContentType
 Content-length: $size
 Pragma: no-cache