Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions core/content-negotiation.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ class Book extends Model {}

API Platform automatically adds two HTTP headers to responses for resources:

- **Allow** advertises enabled HTTP methods on the *current URI template*.
- **Accept-Post** advertises POST-able media types (from operation input formats) and is only present when a POST operation exists for the template.
- **Allow** advertises enabled HTTP methods on the _current URI template_.
- **Accept-Post** advertises POST-able media types (from operation input formats) and is only
present when a POST operation exists for the template.

> See [LDP §4.2 / Primer notes on Accept-Post](https://www.w3.org/TR/ldp/#Accept-Post) and typical exposure via OPTIONS.
> See [LDP §4.2 / Primer notes on Accept-Post](https://www.w3.org/TR/ldp/#Accept-Post) and typical
> exposure via OPTIONS.
Loading
Loading