rest_command component should support PATCH method (#27989)

Without PATCH the rest_command component lacks full RESTful API
support.
This commit is contained in:
Matthew Turney authored and Fabian Affolter committed 2019-10-21 11:20:18 +02:00
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"