Skip to content

Commit c563ae3

Browse files
jelhandgeb
authored andcommitted
media type parameters should be delimited by an immediately preceding semicolony
1 parent 0c29063 commit c563ae3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_format/1.2/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The JSON:API specification supports two media type parameters: `ext` and
5050

5151
> Note: A media type parameter is an extra piece of information that can
5252
accompany a media type. For example, in the header
53-
`Content-Type: text/html; charset="utf-8"`, the media type is `text/html` and
53+
`Content-Type: text/html;charset="utf-8"`, the media type is `text/html` and
5454
`charset` is a parameter.
5555

5656
### <a href="#extensions" id="extensions" class="headerlink"></a> Extensions
@@ -121,7 +121,7 @@ versioning. This member might appear as follows:
121121

122122
```json
123123
HTTP/1.1 200 OK
124-
Content-Type: application/vnd.api+json; ext="https://jsonapi.org/ext/version"
124+
Content-Type: application/vnd.api+json;ext="https://jsonapi.org/ext/version"
125125

126126
// ...
127127
{
@@ -170,7 +170,7 @@ With such a profile applied, a response might appear as follows:
170170

171171
```json
172172
HTTP/1.1 200 OK
173-
Content-Type: application/vnd.api+json; profile="https://example.com/resource-timestamps"
173+
Content-Type: application/vnd.api+json;profile="https://example.com/resource-timestamps"
174174

175175
// ...
176176
{

0 commit comments

Comments
 (0)