lib/httpi/request.rb in httpi-0.4.1 vs lib/httpi/request.rb in httpi-0.5.0
- old
+ new
@@ -44,10 +44,10 @@
# Sets the Hash of HTTP headers.
attr_writer :headers
# Adds a header information to accept gzipped content.
def gzip
- headers["Accept-encoding"] = "gzip,deflate"
+ headers["Accept-Encoding"] = "gzip,deflate"
end
attr_accessor :body, :open_timeout, :read_timeout, :auth_type
# Returns whether any authentication credentials were specified.