我一辈子都搞不清楚。
curl Command: curl --proxy-negotiate -u : <API_PATH> -H "Authorization: Bearer <token> " -H "Accept: application/scim+json"
此命令有效,但仅在我运行此命令后: set HTTPS_PROXY
在 Python 中,我这样做是等效的。
endpoint = <API_PATH>
headers = {"Authorization": B"earer <token> ", "Accept": "application/scim+json"
print(requests.get(endpoint, headers)```
I keep getting this proxy error: Caused by ProxyError('Cannot connect to proxy.', OSERROR('Tunnel connections failed: 407 Proxy Authentication required."