Skip to content
Snippets Groups Projects
Verified Commit 905886ea authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: http proxy

parent 098967d0
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!75F http proxy
Pipeline #29912 failed
......@@ -143,6 +143,9 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
headers = {}
headers["User-Agent"] = self._useragent
if path.endswith("/."):
path = path[:-1] + "%2E"
try:
response = self._session.request(
method=method,
......@@ -152,6 +155,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
verify=self._verify,
timeout=self._timeout,
stream=True)
return _WrappedHTTPResponse(response)
except HTTPConnectionError as conn_err:
raise CaosDBConnectionError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment