Merge pull request #140 from cdpm/make-sync-download-request-well-formed
Add missing boundary at end of multipart/form-data request body generated in Syncer.req()
This commit is contained in:
commit
45e2d197dd
@ -582,7 +582,7 @@ Content-Type: application/octet-stream\r\n\r\n""")
|
||||
tgt.close()
|
||||
break
|
||||
tgt.write(data)
|
||||
buf.write(b'\r\n' + bdry + b'--\r\n')
|
||||
buf.write(b'\r\n' + bdry + b'--\r\n')
|
||||
size = buf.tell()
|
||||
# connection headers
|
||||
headers = {
|
||||
|
Loading…
Reference in New Issue
Block a user