Removed comment about Accept-Encoding: identity
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Thu, 1 Oct 2015 20:27:33 +0000 (22:27 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Thu, 1 Oct 2015 20:27:33 +0000 (22:27 +0200)
bob_download.py

index 5220aacaee27cc3b0b4696b5d517dafd381a6632..98682b47c8eb3dcdcd943d3ce2745f9fc6307e5c 100644 (file)
@@ -8,7 +8,6 @@ dest_dir = '/tmp/bob'
 
 session = requests.Session()
 additional_headers = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'} # otherwise site with content '<HTML></HTML>' is returned
-# Accept-Encoding: identity # to get non-compressed things back
 
 # load login page
 main_url = 'https://rechnung.bob.at/'