Skip to content

Commit 9f5010f

Browse files
committed
fix response encoding
1 parent 3090736 commit 9f5010f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

overpass/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ def _GetFromOverpass(self, query):
8686
r = requests.post(
8787
self.endpoint,
8888
data=payload,
89-
timeout=self.timeout
89+
timeout=self.timeout,
90+
headers={'Accept-Charset': 'utf-8;q=0.7,*;q=0.7'}
9091
)
9192

9293
except requests.exceptions.Timeout:

0 commit comments

Comments
 (0)