Skip to content

Commit 0da0ea5

Browse files
author
hackermd
committed
Stop parsing quotes around multipart boundary
1 parent 669765f commit 0da0ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dicomweb_client/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,8 @@ def _encode_multipart_message(self, data, content_type):
672672
673673
'''
674674
multipart, content_type_field, boundary_field = content_type.split(';')
675-
boundary = boundary_field.split('=')[1].strip('"')
676675
content_type = content_type_field.split('=')[1].strip('"')
676+
boundary = boundary_field.split('=')[1]
677677
body = b''
678678
for payload in data:
679679
body += (

0 commit comments

Comments
 (0)