Permalink
Browse files

Document Rack::Head

  • Loading branch information...
1 parent f467626 commit dd0c71e65ac35c2832b9938951fe27bdf665e9b8 @oscardelben committed Dec 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rack/head.rb
View
@@ -1,6 +1,8 @@
module Rack
class Head
+ # Rack::Head returns an empty body for all HEAD requests. It leaves
+ # all other requests unchanged.
def initialize(app)
@app = app
end

0 comments on commit dd0c71e

Please sign in to comment.