Skip to content

Fix bug where getContentType would return "application/json\r" instead of "application/json"#140

Open
nicolus wants to merge 1 commit intosqmk:masterfrom
nicolus:fix-streaming-headers
Open

Fix bug where getContentType would return "application/json\r" instead of "application/json"#140
nicolus wants to merge 1 commit intosqmk:masterfrom
nicolus:fix-streaming-headers

Conversation

@nicolus
Copy link

@nicolus nicolus commented Oct 21, 2019

This would prevent the Streaming Transport from working properly because the test explode(';', $contentType)[0] != 'application/json' would always return false, and the Http Transport would assume the request failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant