Skip to content

Commit 969d75a

Browse files
committed
Permit clients to require a profile via the accept header.
1 parent 3784230 commit 969d75a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

_format/1.1/index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ The `profile` parameter is used to support [profiles].
4949

5050
### <a href="#content-negotiation-clients" id="content-negotiation-clients" class="headerlink"></a> Client Responsibilities
5151

52-
Clients that include the JSON:API media type in their `Accept` header **MUST**
53-
specify the media type there at least once without any media type parameters.
54-
5552
When processing a JSON:API response document, clients **MUST** ignore any
5653
parameters other than `profile` in the server's `Content-Type` header.
5754

@@ -62,8 +59,8 @@ a request specifies the header `Content-Type: application/vnd.api+json`
6259
with any media type parameters other than `profile`.
6360

6461
Servers **MUST** respond with a `406 Not Acceptable` status code if a
65-
request's `Accept` header contains the JSON:API media type and all instances
66-
of that media type are modified with media type parameters.
62+
request's `Accept` header contains the JSON:API media type and the server is
63+
unable to respond with an acceptable representation.
6764

6865
> Note: These content negotiation requirements exist to allow future versions
6966
of this specification to add other media type parameters for extension

0 commit comments

Comments
 (0)
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