Minor Changes
-
#5409
08b4908
Thanks @mrbbot! - feature: respect incomingAccept-Encoding
header and ensureAccept-Encoding
/request.cf.clientAcceptEncoding
set correctlyPreviously, Miniflare would pass through the incoming
Accept-Encoding
header to your Worker code. This change ensures this header is always set toAccept-Encoding: br, gzip
for incoming requests to your Worker. The original value ofAccept-Encoding
will be stored inrequest.cf.clientAcceptEncoding
. This matches deployed behaviour.Fixes #5246