rest_command component should support PATCH method (#27989)
Without PATCH the rest_command component lacks full RESTful API support.
This commit is contained in:
parent
1e832dc9ec
commit
6c48abcaa5
2 changed files with 28 additions and 11 deletions
|
@ -28,7 +28,7 @@ DEFAULT_TIMEOUT = 10
|
|||
DEFAULT_METHOD = "get"
|
||||
DEFAULT_VERIFY_SSL = True
|
||||
|
||||
SUPPORT_REST_METHODS = ["get", "post", "put", "delete"]
|
||||
SUPPORT_REST_METHODS = ["get", "patch", "post", "put", "delete"]
|
||||
|
||||
CONF_CONTENT_TYPE = "content_type"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue