We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db88bd7 commit 474a512Copy full SHA for 474a512
scaleway-core/scaleway_core/api.py
@@ -121,7 +121,7 @@ def _request(
121
additional_headers: Dict[str, str] = {}
122
123
method = method.upper()
124
- if method == "POST" or method == "PUT":
+ if method == "POST" or method == "PUT" or method == "PATCH":
125
additional_headers["Content-Type"] = "application/json; charset=utf-8"
126
127
if body is None:
0 commit comments