]> granicus.if.org Git - graphviz/commitdiff
patch-two from Ryan Schmidt
authorellson <devnull@localhost>
Mon, 16 Feb 2009 21:20:37 +0000 (21:20 +0000)
committerellson <devnull@localhost>
Mon, 16 Feb 2009 21:20:37 +0000 (21:20 +0000)
patch-two.diff changes the MIME type for "-Tdot" output to the registered "text/vnd.graphviz" type and adds "-Tgv" and "-Txdot" types as well.

contrib/webdot.cgi

index 09c0d3d64b2b2e6d5159e5f723a443eeab259f62..5d098403c11f47ea5299466eb82f1103cf817885 100755 (executable)
@@ -79,7 +79,9 @@ my $SigCommand = '/usr/bin/cksum';
 # set 
 
 my %KnownTypes = (
-       dot =>    'application/x-dot',
+       dot =>    'text/vnd.graphviz',
+       gv =>     'text/vnd.graphviz',
+       xdot =>   'text/vnd.graphviz',
        gif =>    'image/gif',
        png =>    'image/png',
        mif =>    'application/x-mif',