Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tyler_Smith
Binge Watcher

Reading gzip files

I found documentation that suggests you can deflate gzip files but I cannot seem to get it to work. Aka, I don't know how to read the file.
Anyone else attempt this?  If so, were you successful?

Documentation is listed here https://sdkdocs.roku.com/display/sdkdoc/ifUrlTransfer
See EnableEncodings()
Tyler Smith
0 Kudos
1 REPLY 1
EnTerr
Roku Guru

Re: Reading gzip files

Seems what it means is https://en.wikipedia.org/wiki/HTTP_compression - in other words the http request will add header "Accept-Encoding: ..." so that the server can automaGically send the content gzip-ed or deflate-d. It should all be transparent and you will only know by decreased xfer time for large compressible content. See what happens with WireShark.

Also, let's see what Roku stars have to say...
0 Kudos