Thread
:
Politifact Recipe Problems
View Single Post
08-25-2011, 10:40 AM
#
10
kovidgoyal
creator of calibre
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A server should never send gzip if the client doesn;t say it accepts it. But you can add gzip support to a particular recipe by adding:
Code:
def get_browser(self): br = BasicNewsRecipe.get_browser(self) br.set_handle_gzip(True) return br
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS