Project

General

Profile

Backport #1509 ยป fix-cgi-http-status.patch

no6v (Nobuhiro IMAI), 05/24/2009 03:58 PM

View differences:

lib/cgi/core.rb (working copy)
"METHOD_NOT_ALLOWED" => "405 Method Not Allowed",
"NOT_ACCEPTABLE" => "406 Not Acceptable",
"LENGTH_REQUIRED" => "411 Length Required",
"PRECONDITION_FAILED" => "412 Rrecondition Failed",
"PRECONDITION_FAILED" => "412 Precondition Failed",
"SERVER_ERROR" => "500 Internal Server Error",
"NOT_IMPLEMENTED" => "501 Method Not Implemented",
"BAD_GATEWAY" => "502 Bad Gateway",
    (1-1/1)