Method: Goliath::Rack::Formatters::HTML#post_process
- Defined in:
- lib/goliath/rack/formatters/html.rb
#post_process(env, status, headers, body) ⇒ Object
15 16 17 18 |
# File 'lib/goliath/rack/formatters/html.rb', line 15 def post_process(env, status, headers, body) body = [to_html(body, false)] if html_response?(headers) [status, headers, body] end |