Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Tyler_Smith
Level 7

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
Senior Developer, REDspace
redspace.com
0 Kudos
1 Reply
EnTerr
Level 8

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