Module: Net

Defined in:
lib/spaceship/helper/net_http_generic_request.rb

Overview

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.

Defined Under Namespace

Classes: HTTPGenericRequest