0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Small guide fixes

This commit is contained in:
Loïc Hoguin 2017-10-13 23:20:49 +02:00
parent d3f15cfd8b
commit f104da9322
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
2 changed files with 10 additions and 9 deletions

View file

@ -193,8 +193,8 @@ callback.
If you implement the methods PUT, POST and/or PATCH,
you must implement the `content_types_accepted` callback,
and one `AcceptResource` callback for each content-type
it returns. Prefix the `AcceptResource` callback names
and one `AcceptCallback` callback for each content-type
it returns. Prefix the `AcceptCallback` callback names
with `from_` for clarity. For example, `from_html` or
`from_json`.