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
Updated client.py to conform to new openapi generated api_client.py
I removed the default Content-Type: */* as kubernetes does not seem to like that.
Example:
curl -k -x socks5://localhost:9090/ \
--header "Accept: application/json" \
--header "Content-Type: */*" \
https://xxxx:6443/version
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "406: Not Acceptable\n\nAvailable representations: ",
"reason": "NotAcceptable",
"details": {},
"code": 406
}
Unsure how that worked before, but simply not setting a content type worked.
0 commit comments