diff options
author | Sean Allred <code@seanallred.com> | 2014-10-31 18:51:00 -0400 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-10-31 18:51:00 -0400 |
commit | 55111f36af271b85f452d3774beb89b0aa85cfc6 (patch) | |
tree | 31db05e192140e0a28b848d3dafa5665c6772e39 /test | |
parent | f0f3d7675d6510add4b28fac1cb5823a658c1ec8 (diff) |
Handle case where API response is compressed
The StackExchange API explicitly states that responses to requests are
gzipped. For some reason, they are not zipped when called locally on my
machine, but they are zipped when run from Travis CI.
I do not know if `url-retrieve-synchronously' is performing any magic.
When I curl the request, I receive a gzipped response (as expected). A
proper fix for this would be to somehow advise `url-*' to request as
curl does.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions