From 7c31528b99f235f411ed405178c8235266285677 Mon Sep 17 00:00:00 2001 From: Wilmar van Heerden Date: Wed, 10 Jul 2019 14:22:48 +0200 Subject: [PATCH] Add headers option on RemoteFile/Http - Add an option :headers key for the caller to provide custom headers --- lib/cocoapods-core/specification/dsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods-core/specification/dsl.rb b/lib/cocoapods-core/specification/dsl.rb index 390813214..e85e65171 100644 --- a/lib/cocoapods-core/specification/dsl.rb +++ b/lib/cocoapods-core/specification/dsl.rb @@ -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)