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

Remove the REST known_content_type callback

This callback was simply useless.
This commit is contained in:
Loïc Hoguin 2014-10-03 18:52:14 +03:00
parent bee5ca852b
commit 4bc8e330fa
6 changed files with 6 additions and 137 deletions

View file

@ -311,17 +311,6 @@ Return whether the put action results in a conflict.
A `409 Conflict` response will be sent if this function
returns `true`.
: known_content_type
* Methods: all
* Value type: boolean()
* Default value: true
Return whether the content-type is known.
This function determines if the server understands the
content-type, regardless of its use by the resource.
: known_methods
* Methods: all