lib/roda/plugins/head.rb in roda-3.16.0 vs lib/roda/plugins/head.rb in roda-3.17.0
- old
+ new
@@ -35,13 +35,9 @@
# handle GET. Search engines and other bots may send a
# HEAD request prior to crawling a page with a GET request. Without
# this plugin those HEAD requests will return a 404 status, which
# may prevent search engines from crawling your website.
module Head
- def self.load_dependencies(app)
- app.plugin :_after_hook
- end
-
# used to ensure proper resource release on HEAD requests
# we do not respond to a to_path method, here.
class CloseLater
def initialize(body)
@body = body