CHW-4840 CocoapodsUnsupportedMediaType

Content-Type must be application/json; the cocoapods trunk only accepts JSON bodies

Default message: Content-Type must be application/json; the cocoapods trunk only accepts JSON bodies
HTTP status: 415 (client)

Problem. A trunk request was rejected with 415. Cause. The Content-Type header is not application/json. The CocoaPods CLI always sends JSON, so this typically signals a misconfigured client or a curl probe that forgot the header. Fix. Set Content-Type: application/json. If you’re using the CocoaPods CLI, verify nothing wrapping it (e.g. an HTTP debugger) is rewriting headers. HTTP 415.