mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ Content-Type: application/octet-stream\r\n\r\n""")
|
||||||
tgt.close()
|
tgt.close()
|
||||||
break
|
break
|
||||||
tgt.write(data)
|
tgt.write(data)
|
||||||
buf.write(b'\r\n' + bdry + b'--\r\n')
|
buf.write(b'\r\n' + bdry + b'--\r\n')
|
||||||
size = buf.tell()
|
size = buf.tell()
|
||||||
# connection headers
|
# connection headers
|
||||||
headers = {
|
headers = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue