awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Update subscription response content-type (#262) #263

Closed raphkim closed 4 years ago

raphkim commented 4 years ago

Issue #, if available:

262 reopened for travis

Description of changes:

Issue #, if available: https://t.corp.amazon.com/mobilesdk-4697 (internal ticket)

Description of changes: Use "application/json" as content-type to parse subscription responses to. This resolves the inconsistency in json response between subscription (previously parsed to "text/plain") and query/mutation (parsed to "application/json").

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.