View Single Post
Old 08-25-2011, 10:40 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,197
Karma: 29626604
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 is online now   Reply With Quote