used to ensure proper resource release on HEAD requests we do not respond to a to_path method, here.
Public Class methods
new(body)
[show source]
# File lib/roda/plugins/head.rb 43 def initialize(body) 44 @body = body 45 end
Public Instance methods
close()
this should be called by the Rack server
[show source]
# File lib/roda/plugins/head.rb 52 def close 53 @body.close 54 end