module Roda::RodaPlugins::Head::InstanceMethods
def _roda_after_30__head(res)
Always use an empty response body for head requests, with a
def _roda_after_30__head(res) if res && @_request.head? body = res[2] if body.respond_to?(:close) res[2] = CloseLater.new(body) else res[2] = EMPTY_ARRAY end end end