(boundary)
| 75788 | if (contentLength) { |
| 75789 | request3.headers.set("Content-Length", contentLength); |
| 75790 | } |
| 75791 | request3.body = await concat(sources); |
| 75792 | } |
| 75793 | var multipartPolicyName = "multipartPolicy"; |
| 75794 | var maxBoundaryLength = 70; |
| 75795 | var validBoundaryCharacters = new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`); |
| 75796 | function assertValidBoundary(boundary) { |
| 75797 | if (boundary.length > maxBoundaryLength) { |
| 75798 | throw new Error(`Multipart boundary "${boundary}" exceeds maximum length of 70 characters`); |
| 75799 | } |
| 75800 | if (Array.from(boundary).some((x5) => !validBoundaryCharacters.has(x5))) { |
no test coverage detected
searching dependent graphs…