rest_command component should support PATCH method (#27989)
Without PATCH the rest_command component lacks full RESTful API support.
This commit is contained in:
1 parent
1e832dc9ec
commit
6c48abcaa5
2 files changed
+28
-11
No files matched your search
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user