We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resp = await v1.read_namespaced_pod_log(podname, namespace, container=container, **params) File "..\.venv\lib\site-packages\kubernetes_asyncio\client\api_client.py", line 191, in __call_api content_type = response_data.getheader('content-type') AttributeError: 'ClientResponse' object has no attribute 'getheader'
kubernetes_asyncio/kubernetes_asyncio/client/api_client.py
Line 191 in 6502fde
to fix it, I change it to content_type = response_data.headers.get('content-type')
content_type = response_data.headers.get('content-type')
I use : aiohttp==3.6.3 urllib3==1.25.11 Thanks for your attempts.
The text was updated successfully, but these errors were encountered:
@mnasiri Thanks for reporting this issue.
It appears when you call any methods with preload_content=False (eg. Watch() works in this way). I'll fix it ASAP.
Sorry, something went wrong.
It has been fixed in v12.0.1
tomplus
No branches or pull requests
This issue is seen when run my project with ver.12.0.0 of kubernetes_asyncio which it was worked with ver. 11.3.0.
kubernetes_asyncio/kubernetes_asyncio/client/api_client.py
Line 191 in 6502fde
to fix it, I change it to
content_type = response_data.headers.get('content-type')
I use :
aiohttp==3.6.3
urllib3==1.25.11
Thanks for your attempts.
The text was updated successfully, but these errors were encountered: