Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HEAD support

  • Loading branch information...
commit 04a7f45f038ffebd93f8a7c8f38172cdcd7d5a52 1 parent 643a37b
@tarcieri tarcieri authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/reel/request.rb
View
2  lib/reel/request.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.