Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 8

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
Highlighted
Level 10

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