From: Martin Mares Date: Tue, 16 Oct 2012 13:19:27 +0000 (+0200) Subject: UCW::CGI: Announce supported methods correctly X-Git-Tag: v5.99~109 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7649cdd07fb6a54b190c8d0ef067c7af014c6c7d;p=libucw.git UCW::CGI: Announce supported methods correctly --- diff --git a/ucw/perl/UCW/CGI.pm b/ucw/perl/UCW/CGI.pm index d2468b8f..afb3c76f 100644 --- a/ucw/perl/UCW/CGI.pm +++ b/ucw/perl/UCW/CGI.pm @@ -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"; } }