]> mj.ucw.cz Git - libucw.git/commitdiff
UCW::CGI: Announce supported methods correctly
authorMartin Mares <mj@ucw.cz>
Tue, 16 Oct 2012 13:19:27 +0000 (15:19 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 16 Oct 2012 13:19:27 +0000 (15:19 +0200)
ucw/perl/UCW/CGI.pm

index d2468b8fe48b121dd35fca862f5ebbc22d384a4d..afb3c76fa62ff10d8611a25bb80fb26f27a9eac0 100644 (file)
@@ -191,7 +191,7 @@ sub init_args() {
                        exit;
                }
        } else {
-               http_error "405 Method Not Allowed", "Allow: GET, HEAD, PUT";
+               http_error "405 Method Not Allowed", "Allow: GET, HEAD, POST";
        }
 }