Permalink
Browse files

HEAD support

  • Loading branch information...
1 parent 643a37b commit 04a7f45f038ffebd93f8a7c8f38172cdcd7d5a52 @tarcieri tarcieri committed Mar 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/reel/request.rb
View
@@ -1,7 +1,7 @@
module Reel
class Request
attr_accessor :method, :version, :url
- METHODS = [:get, :post, :put, :delete, :trace, :options, :connect, :patch]
+ METHODS = [:get, :head, :post, :put, :delete, :trace, :options, :connect, :patch]
def initialize(method, url, version = "1.1", headers = {})
@method = method.to_s.downcase.to_sym

0 comments on commit 04a7f45

Please sign in to comment.