method
reason_phrase
v2_5_5 -
Show latest stable
- Class:
WEBrick::HTTPStatus
reason_phrase(code)public
Returns the description corresponding to the HTTP status code
WEBrick::HTTPStatus.reason_phrase 404 => "Not Found"
reason_phrase(code)Returns the description corresponding to the HTTP status code
WEBrick::HTTPStatus.reason_phrase 404 => "Not Found"