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:
parent
bee5ca852b
commit
4bc8e330fa
6 changed files with 6 additions and 137 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue