Skip to content

Commit

Permalink
fix: auto-cleanup by bot (mdn#36584)
Browse files Browse the repository at this point in the history
chore: auto-fix Markdownlint, Prettier, and front-matter issues
  • Loading branch information
mdn-bot authored Oct 31, 2024
1 parent 217a5e0 commit 8bdaa4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/http/headers/accept-patch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec-urls: https://www.rfc-editor.org/rfc/rfc5789#section-3.1

{{HTTPSidebar}}

The HTTP **`Accept-Patch`** {{Glossary("response header")}} advertises which [media types](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) the server is able to understand in a {{HTTPMethod("PATCH")}} request.
The HTTP **`Accept-Patch`** {{Glossary("response header")}} advertises which [media types](/en-US/docs/Web/HTTP/MIME_types) the server is able to understand in a {{HTTPMethod("PATCH")}} request.
For example, a server receiving a `PATCH` request with an unsupported media type could reply with {{HTTPStatus("415", "415 Unsupported Media Type")}} and an `Accept-Patch` header referencing one or more supported media types.

The header should appear in {{HTTPMethod("OPTIONS")}} requests to a resource that supports the `PATCH` method.
Expand Down Expand Up @@ -44,7 +44,7 @@ Accept-Patch: <media-type>/<subtype>, <media-type>/<subtype>
## Directives

- `<media-type>/<subtype>`
- : A single, precise [media type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types), like `text/html`.
- : A single, precise [media type](/en-US/docs/Web/HTTP/MIME_types), like `text/html`.
- `<media-type>/*`
- : A media type without a subtype.
For example, `image/*` corresponds to `image/png`, `image/svg`, `image/gif`, and other image types.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/http/headers/accept-post/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Accept-Post: <media-type>/<subtype>, <media-type>/<subtype>
## Directives

- `<media-type>/<subtype>`
- : A single, precise [media type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types), like `text/html`.
- : A single, precise [media type](/en-US/docs/Web/HTTP/MIME_types), like `text/html`.
- `<media-type>/*`
- : A media type without a subtype.
For example, `image/*` corresponds to `image/png`, `image/svg`, `image/gif`, and other image types.
Expand Down

0 comments on commit 8bdaa4a

Please sign in to comment.