Sha256: 916bff9454adda731283d0de7e5ce07adee5f7bbb2d91d5649d8ad5ebdae67c1

Contents?: true

Size: 404 Bytes

Versions: 1109

Compression:

Stored size: 404 Bytes

Contents

require 'net/http'

## monkey-patch Net::HTTP
#
# Certain apple endpoints return 415 responses if a Content-Type is supplied.
# Net::HTTP will default a content-type if none is provided by faraday
# This monkey-patch allows us to leave out the content-type if we do not specify one.
module Net
  class HTTPGenericRequest
    def supply_default_content_type
      return if content_type
    end
  end
end

Version data entries

1,109 entries across 1,109 versions & 3 rubygems

Version Path
fastlane-2.132.0.beta.20190925200108 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190924200030 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190923200017 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190922200014 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190921200021 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190920200012 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190919200100 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190918200023 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190917200011 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190916200055 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190915200038 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190914200034 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190913200058 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.132.0.beta.20190912200052 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0.beta.20190911200010 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0.beta.20190910200104 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0.beta.20190909200058 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0.beta.20190908200041 spaceship/lib/spaceship/helper/net_http_generic_request.rb
fastlane-2.131.0.beta.20190907200030 spaceship/lib/spaceship/helper/net_http_generic_request.rb