Skip to content

Commit

Permalink
Used gzip instead of glib for compression
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanjaneyuluIdavalapati committed Jul 7, 2018
1 parent 75f7c95 commit 0d3192a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kwikapi/tornado/kwikapi_tornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def write(self, data, proto, stream=False):
gfile.close()
self._data = compressed.getvalue()
nbytes = len(self._data)
self.headers['Content-Encoding'] = 'deflate'
self.headers['Content-Encoding'] = 'gzip'

self.headers['Content-Length'] = nbytes

Expand Down

0 comments on commit 0d3192a

Please sign in to comment.