diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-04-21 20:14:38 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-04-21 20:14:38 +0200 |
| commit | 7e36f210aa3544a4c5f3a533979803f466b28f30 (patch) | |
| tree | ae6593e3572abd114bb187b62672f860fdcb2625 | |
| parent | d43dfd54befd8149ee97778d2abb3e5025638db9 (diff) | |
HTTP headers on abc manager
| -rwxr-xr-x | cgi-bin/abcmanager.plx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/abcmanager.plx b/cgi-bin/abcmanager.plx index 409b822..85f303f 100755 --- a/cgi-bin/abcmanager.plx +++ b/cgi-bin/abcmanager.plx @@ -13,7 +13,7 @@ my $ARTIST = makeNice($QUERY->param( "artist" )); my $ABC = makeNice($QUERY->param( "abc" )); my %ABCS = getABCs(); -print "<html><head>"; +print "HTTP/1.0 200 OK\nContent-Type:text/html\n\n<html><head>"; if ($ACTION eq "remove") { delete $ABCS{$ARTIST}; |
