Module | Sinatra::RespondTo::Helpers |
In: |
lib/sinatra/respond_to.rb
|
content_type | -> | content_type_without_save |
Patch the content_type function to remember the set type This helps cut down on time in the format helper so it doesn‘t have to do a reverse lookup on the header