How to send a byte array after compressing with gzip #425
Unanswered
appssonatina
asked this question in
Q&A
Replies: 1 comment
-
I forgot to mention, I'm using oak with Router. Here's the complete source code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying send a Uint8Array byte array by setting the response.body
but in the browser it is not getting any data. Is there an example of how to send a byte array?
I also tried
ctx.response.body = gz
the I get the same result.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions