summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfhost.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fhost.py b/fhost.py
index 75986bc..283c9a2 100755
--- a/fhost.py
+++ b/fhost.py
@@ -234,7 +234,8 @@ def store_url(url, addr):
if is_fhost_url(url):
return segfault(508)
- r = requests.get(url, stream=True, verify=False)
+ h = { "Accept-Encoding" : "identity" }
+ r = requests.get(url, stream=True, verify=False, headers=h)
try:
r.raise_for_status()