2011-01-25から1日間の記事一覧

HTTPステータスの変換

Rack::Utils.status_code(:unprocessable_entity) # => 422 Rack::Utils::HTTP_STATUS_CODES[403] # => "Forbidden"