Skip to content

Commit

Permalink
Merge branch '1.0' of https://github.com/lostisland/faraday into feat…
Browse files Browse the repository at this point in the history
…ure/#762-rspec

# Conflicts:
#	lib/faraday/utils.rb
  • Loading branch information
iMacTia committed Oct 29, 2018
1 parent 89df1a1 commit 340122a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/faraday/utils/headers.rb
@@ -1,5 +1,8 @@
module Faraday
module Utils
# A case-insensitive Hash that preserves the original case of a header
# when set.
#
# Adapted from Rack::Utils::HeaderHash
class Headers < ::Hash
def self.from(value)
Expand Down
2 changes: 1 addition & 1 deletion lib/faraday/utils/params_hash.rb
@@ -1,6 +1,6 @@
module Faraday
module Utils
# Hash with stringified keys
# A hash with stringified keys.
class ParamsHash < Hash
def [](key)
super(convert_key(key))
Expand Down

0 comments on commit 340122a

Please sign in to comment.