Workers not decoding gzip request automatically
Getting the
.text()
of from a logpush job pointing to a worker3 Replies
working looking like this:
echo '{"mydummy": "json"}' | gzip | curl -v -i --data-binary @- -H "Content-Encoding: gzip" -H "content-type: application/json" http://localhost:8787
Workers don't handle
gzip
automatically - you will need to leverage stuff like DecompressionStream
https://discord.com/channels/595317990191398933/1041788765783474216/1045010540809945148Thanks @kiannh
Will look at this
this is what worked