Method: Rack::Response::Helpers#content_type

Defined in:
lib/rack/response.rb

#content_typeObject

Get the content type of the response.



182
183
184
# File 'lib/rack/response.rb', line 182

def content_type
  get_header CONTENT_TYPE
end