Skip to content

Simplify profiles for v1.1 #1456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 12, 2020
Prev Previous commit
Next Next commit
Move the note about older servers and the profile media type parameter.
  • Loading branch information
gabesullice committed Jan 23, 2020
commit 62fc5e104e0ccaa057d7d2fc417890d3c2d3d8de
8 changes: 4 additions & 4 deletions _format/1.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ negotiation and versioning.
When processing a JSON:API response document, clients **MUST** ignore any
parameters other than `profile` in the server's `Content-Type` header.

> Note: Older JSON:API servers that don't support the `profile` media
type parameter will respond with a `415 Unsupported Media Type` client error
status if the `profile` media type parameter is present.

### <a href="#content-negotiation-servers" id="content-negotiation-servers" class="headerlink"></a> Server Responsibilities

Servers **MUST** respond with a `415 Unsupported Media Type` status code if
a request specifies the header `Content-Type: application/vnd.api+json` with
any media type parameters other than `profile`.

> Note: Older JSON:API servers that do not support the `profile` media
type parameter will respond with a `415 Unsupported Media Type` client error
status if the `profile` media type parameter is present.

Servers **MUST** respond with a `406 Not Acceptable` status code if a request's
`Accept` header contains the JSON:API media type and all instances of that
media type are modified with a media type parameter other than `profile`.
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy