Module: Roda::RodaPlugins::DeleteEmptyHeaders::ResponseMethods

Defined in:
lib/roda/plugins/delete_empty_headers.rb

Instance Method Summary collapse

Instance Method Details

#finishObject

Delete any empty headers when calling finish



14
15
16
# File 'lib/roda/plugins/delete_empty_headers.rb', line 14

def finish
  delelete_empty_headers(super)
end

#finish_with_body(_) ⇒ Object

Delete any empty headers when calling finish_with_body



19
20
21
# File 'lib/roda/plugins/delete_empty_headers.rb', line 19

def finish_with_body(_)
  delelete_empty_headers(super)
end