213
213
self._serialise_optional_mode(mode))
214
214
self._translate_error(resp)
216
223
def put_bytes(self, relpath, upload_contents, mode=None):
217
224
# FIXME: upload_file is probably not safe for non-ascii characters -
218
225
# should probably just pass all parameters as length-delimited