Repository navigation
response v1.0.4
Patch Changes
-
Fix
compressStream(), used bycompressResponse()and thecompression()middleware, buffering the entire compressed response in memory when the client reads slowly. Compression now pauses the source stream until the client catches up. Cancelling a compressed response after its source stream finished also no longer throws aTypeError. (#12426) -
Combine prepended DOCTYPE bytes into the first chunk of streamed
createHtmlResponse()responses, forward stream cancellation to the underlying reader, and avoid unnecessaryHeadersandTextEncoderallocations. (#12463) -
Bumped
@remix-run/*dependencies: