Skip to content

Commit 4b5a3ce

Browse files
force gzip encoding (#407)
1 parent bd42618 commit 4b5a3ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

polygon/rest/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def __init__(
4141

4242
self.headers = {
4343
"Authorization": "Bearer " + self.API_KEY,
44+
"Accept-Encoding": "gzip",
4445
"User-Agent": f"Polygon.io PythonClient/{version}",
4546
}
4647

0 commit comments

Comments
 (0)