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 019b6fe commit 2393509Copy full SHA for 2393509
clients/CHANGELOG.md
@@ -1,5 +1,11 @@
1
# Changelog
2
3
+## 0.0.13
4
+
5
+### Fixes
6
7
+- fix(py-client): Don't call str on bytes (#225) by @lcian
8
9
## 0.0.12
10
11
### Features
clients/python/src/objectstore_client/client.py
@@ -355,7 +355,7 @@ def delete(self, key: str) -> None:
355
356
def raise_for_status(response: urllib3.BaseHTTPResponse) -> None:
357
if response.status >= 400:
358
- res = str(response.data or response.read())
+ res = (response.data or response.read() or b"").decode("utf-8", "replace")
359
raise RequestError(
360
f"Objectstore request failed with status {response.status}",
361
response.status,
0 commit comments