module Puma::Request
def fetch_status_code(status)
-
(String)
- the text description from Puma::HTTP_STATUS_CODES
Parameters:
-
status
(Integer
) -- status from the app
def fetch_status_code(status) HTTP_STATUS_CODES.fetch(status) { CUSTOM_STAT } end