Gitlab Community Edition Instance

Commit 6d743fb1 authored by Marcel Hellkamp's avatar Marcel Hellkamp
Browse files

fix: get/put files with url-reservec characters (? or #)

parent 15623165
......@@ -38,6 +38,8 @@ class CDStar:
headers['X-Transaction'] = self.tx['id']
options['headers'] = headers
path = [requests.utils.quote(p) for p in path]
rs = self._session.request(
method, self.url + '/'.join(path), **options)
if rs.ok or (_expect_status and rs.status_code in _expect_status):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment