Skip to content

fix(handler,audits/server): application/json is the default when accept is missing until watershed - #23

Merged
enisdenjo merged 4 commits into
masterfrom
application-json-when-accept-missing
Nov 18, 2022
Merged

fix(handler,audits/server): application/json is the default when accept is missing until watershed#23
enisdenjo merged 4 commits into
masterfrom
application-json-when-accept-missing

Conversation

@enisdenjo

@enisdenjo enisdenjo commented Nov 18, 2022

Copy link
Copy Markdown
Member

Before 1st January 2025 (2025-01-01T00:00:00Z), if the client does not supply an Accept header, the server SHOULD treat the request as if it had Accept: application/json. From 1st January 2025 (2025-01-01T00:00:00Z), if the client does not supply an Accept header, the server SHOULD treat the request as if it had Accept: application/graphql-response+json.

GraphQL over HTTP spec

@enisdenjo
enisdenjo merged commit 050fdfe into master Nov 18, 2022
@enisdenjo
enisdenjo deleted the application-json-when-accept-missing branch November 18, 2022 09:11
enisdenjo pushed a commit that referenced this pull request Nov 18, 2022
## [1.7.2](v1.7.1...v1.7.2) (2022-11-18)

### Bug Fixes

* **handler,audits/server:** application/json is the default when accept is missing until watershed ([#23](#23)) ([050fdfe](050fdfe))
@enisdenjo

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

released Has been released and published

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant