In recent versions of K8S (>1.16?), when a `Watch.stream()` call uses a resource_version which is too old the resulting 410 error is wrapped in JSON and returned in a non-chunked 200 response. Using `resp.stream()` instead of `resp.read_chunked()` automatically handles the response being either chunked or non-chunked. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| watch_test.py | ||
| watch.py | ||