Revision ca3ab617
b/snf-pithos-tools/pithos/tools/lib/client.py | ||
---|---|---|
117 | 117 |
|
118 | 118 |
full_path = _prepare_path(p.path + path, params=params) |
119 | 119 |
|
120 |
headers.setdefault('content-type', 'application/octet-stream') |
|
121 |
|
|
120 | 122 |
conn.putrequest(method, full_path) |
121 | 123 |
conn.putheader('x-auth-token', self.token) |
122 |
conn.putheader('content-type', 'application/octet-stream') |
|
123 | 124 |
conn.putheader('transfer-encoding', 'chunked') |
124 | 125 |
for k,v in _prepare_headers(headers).items(): |
125 | 126 |
conn.putheader(k, v) |
Also available in: Unified diff