Skip to content

Commit 00c0ea1

Browse files
Update src/link/http/parseAndCheckHttpResponse.ts
Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
1 parent 74ecef2 commit 00c0ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/link/http/parseAndCheckHttpResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function* consumeMultipartBody(
4040
([^"'].*?) # a string that doesn't start with ' or ", parsed non-greedily
4141
) # end of the group
4242
\s* # optional whitespace
43-
(?;;|$) # match a semicolon or end of string
43+
(?:;|$) # match a semicolon or end of string
4444
*/
4545
/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i
4646
);

0 commit comments

Comments
 (0)