Skip to content

Commit

Permalink
Add headers option on RemoteFile/Http
Browse files Browse the repository at this point in the history
- Add an option :headers key for the caller to provide custom headers
  • Loading branch information
wilmarvh committed Jul 10, 2019
1 parent 3065068 commit 7c31528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-core/specification/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ module DSL
:git => [:tag, :branch, :commit, :submodules].freeze,
:svn => [:folder, :tag, :revision].freeze,
:hg => [:revision].freeze,
:http => [:flatten, :type, :sha256, :sha1].freeze,
:http => [:flatten, :type, :sha256, :sha1, :headers].freeze,
}.freeze

# @!method source=(source)
Expand Down

0 comments on commit 7c31528

Please sign in to comment.