Skip to content

Commit

Permalink
Bump Typhoeus to 1.1 (#728)
Browse files Browse the repository at this point in the history
Which always set the Expect header since 1.1.0.

See typhoeus/typhoeus@869c36b
  • Loading branch information
sathieu authored and krainboltgreene committed Dec 3, 2018
1 parent 534211b commit a0bb140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gemspec
gem 'jruby-openssl', :platforms => :jruby

platform :mri do
gem "typhoeus", "~> 1.0.2"
gem "typhoeus", "~> 1.1.0"
gem "patron", "0.6.3"
gem "em-http-request"
gem "curb", "~> 0.8.8"
Expand Down
2 changes: 1 addition & 1 deletion spec/support/http_library_adapters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def make_http_request(method, url, body = nil, headers = {})
end

def normalize_request_headers(headers)
headers.merge("User-Agent"=>["Typhoeus - https://github.com/typhoeus/typhoeus"])
headers.merge("User-Agent"=>["Typhoeus - https://github.com/typhoeus/typhoeus"], 'Expect' => [''])
end
end

Expand Down

0 comments on commit a0bb140

Please sign in to comment.