You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/08/18 02:03:04 UTC
[GitHub] [couchdb] jaydoane commented on pull request #3701: Restrict design doc update methods
jaydoane commented on pull request #3701:
URL: https://github.com/apache/couchdb/pull/3701#issuecomment-900754570
> hm, not sure here. the _show / _list / _update handlers exist to allow users to decide their own semantics, so allowing any http method for _update makes sense (e.g, PATCH).
@rnewson if that's the intention, the documentation doesn't make it clear, since it specifies [PUT](https://docs.couchdb.org/en/latest/api/ddoc/render.html#put--db-_design-ddoc-_update-func-docid) and [POST](https://docs.couchdb.org/en/latest/api/ddoc/render.html#post--db-_design-ddoc-_update-func), but no others. So, maybe we just need to improve the docs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org