You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 13, 2022. It is now read-only.
stream assumes all data as UTF-8. That's not always the case. #88
site-packages\kubernetes\stream\ws_client.py in update(self, timeout)
176 elif op_code == ABNF.OPCODE_BINARY or op_code == ABNF.OPCODE_TEXT:
177 data = frame.data
178 if six.PY3:
--> 179 data = data.decode("utf-8")
180 if len(data) > 1:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd4 in position 1: unexpected end of data
15474ef helped to fix the error above, but it seems like this issue should be re-opened with the intent of being able to stream bytes without trying to decode them
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.