]> git.ardis.lu - targz/commitdiff
Re-add type: 'bytes' option
authorArdis Lu <ardisglu@gmail.com>
Wed, 8 May 2024 06:59:17 +0000 (23:59 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 8 May 2024 06:59:17 +0000 (23:59 -0700)
This is required to use ReadableStreamBYOBReader to untar the stream later

index.html

index c6f62a772ab2a4dda6b3c78cc02d271e8f6b62ed..fbb44e5f5de96adb3982aaec34a1babfb8639be0 100644 (file)
           // End of tar is marked by 1024 null bytes
           controller.enqueue(new Uint8Array(1024));
           controller.close();
-        }
+        },
+        type: 'bytes'
       });
     }
 
This page took 0.036711 seconds and 4 git commands to generate.