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



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

def finish
  delelete_empty_headers(super)
end

#finish_with_body(_) ⇒ Object

Delete any empty headers when calling finish_with_body



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

def finish_with_body(_)
  delelete_empty_headers(super)
end