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)
33 33
    "METHOD_NOT_ALLOWED"  => "405 Method Not Allowed",
34 34
    "NOT_ACCEPTABLE"      => "406 Not Acceptable",
35 35
    "LENGTH_REQUIRED"     => "411 Length Required",
36
    "PRECONDITION_FAILED" => "412 Rrecondition Failed",
36
    "PRECONDITION_FAILED" => "412 Precondition Failed",
37 37
    "SERVER_ERROR"        => "500 Internal Server Error",
38 38
    "NOT_IMPLEMENTED"     => "501 Method Not Implemented",
39 39
    "BAD_GATEWAY"         => "502 Bad Gateway",