Skip to content

Commit

Permalink
fix tile request header to disallow response compression
Browse files Browse the repository at this point in the history
  • Loading branch information
domlysz committed Nov 18, 2020
1 parent 870e666 commit 00b9353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/basemaps/mapservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ class Layer(): pass
self.headers = {
'Accept' : 'image/png,image/*;q=0.8,*/*;q=0.5' ,
'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' ,
'Accept-Encoding' : 'gzip,deflate' ,
#'Accept-Encoding' : 'gzip,deflate', #urllib2 doesn't automatically uncompress the data
'Accept-Language' : 'fr,en-us,en;q=0.5' ,
#'Keep-Alive': 115 ,
'Proxy-Connection' : 'keep-alive',
Expand Down

0 comments on commit 00b9353

Please sign in to comment.