Skip to content

Commit

Permalink
ask for raw size, avoid gzipped one.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Aug 12, 2024
1 parent e730afc commit 5f948f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarracenia/transfer/https.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def stat(self,path,msg) -> sarracenia.filemetadata.FmdStat:
url += path

try:
resp = requests.head(url)
resp = requests.head(url, headers = {'Accept-Encoding': 'identity'} )
resp.raise_for_status()

# parse the HTTP header response into the stat object used by sr3
Expand Down

0 comments on commit 5f948f1

Please sign in to comment.