]> mj.ucw.cz Git - libucw.git/commit
UCW::CGI: Report all errors by proper HTTP status codes
authorMartin Mares <mj@ucw.cz>
Tue, 22 Nov 2011 16:13:32 +0000 (17:13 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 22 Nov 2011 16:13:32 +0000 (17:13 +0100)
commitbb8ec9cc7c5020868dce8d9a0ff6b4ba9667fca9
treecb803f9a5a3df472f50c259ba4a207ac78fea3de
parentd4af13508dc83e2c6cca3ad5d7f7b07e370d8ab9
UCW::CGI: Report all errors by proper HTTP status codes

All calls to die have been replaced by returning a proper HTTP status
code. (A sole exception is if we fail, because we were not run as a CGI
script at all.)

Also, the set of supported HTTP methods now includes HEAD.
ucw/perl/UCW/CGI.pm