Just did some tests with setting Accept-Encoding: gzip
and really think the API docs should mention support for gzip compression in HUGE FAT LETTERS !!!
Here's my little test:
The first 3 requests show login/searchIMDb/searchSubtitles for Firefly with gzip compression. The second 3 requests do the same thing without compression.
With gzip compression: 39.522 bytes
No compression: 1.577.481 bytes
In this case two lines of code can reduce 97.5% of bandwith
, and probably save OpenSubtitles 97.5% of bandwidth costs. So you should really advertise compression alot more!