diff --git a/Sources/Apollo/JSONRequest.swift b/Sources/Apollo/JSONRequest.swift index 311bda10bf..6e0b9f08bd 100644 --- a/Sources/Apollo/JSONRequest.swift +++ b/Sources/Apollo/JSONRequest.swift @@ -100,6 +100,9 @@ open class JSONRequest: HTTPRequest { if let urlForGet = transformer.createGetURL() { request.url = urlForGet request.httpMethod = GraphQLHTTPMethod.GET.rawValue + + // GET requests shouldn't have a content-type since they do not provide actual content. + request.allHTTPHeaderFields?.removeValue(forKey: "Content-Type") } else { throw GraphQLHTTPRequestError.serializedQueryParamsMessageError }