File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ export class Multipart implements Part {
2424 * @internal
2525 */
2626 public static readonly SP = 0x20 ;
27+ /**
28+ * Horizontal tab (`\t`) ASCII code
29+ * @internal
30+ */
31+ public static readonly HT = 0x09 ;
2732 /**
2833 * Carriage return (`\r`) ASCII code
2934 * @internal
@@ -284,7 +289,7 @@ export class Multipart implements Part {
284289 const byte = data [ currentEndOfBoundaryIndex ] ;
285290 if ( byte === Multipart . CR && data [ currentEndOfBoundaryIndex + 1 ] === Multipart . LF )
286291 return [ boundaryStartIndex , currentEndOfBoundaryIndex + 2 ] ;
287- if ( byte === Multipart . SP || byte === 0x09 ) {
292+ if ( byte === Multipart . SP || byte === Multipart . HT ) {
288293 currentEndOfBoundaryIndex ++ ;
289294 continue ;
290295 }
You can’t perform that action at this time.
0 commit comments