Add "Accept-Encoding: gzip" header to mapd.py to reduce data consumption (#525)
old-commit-hash: 03f13e614bad3c034b6915a659bfba74150b8047
This commit is contained in:
@@ -35,7 +35,8 @@ from selfdrive.version import version, dirty
|
||||
|
||||
OVERPASS_API_URL = "https://overpass.kumi.systems/api/interpreter"
|
||||
OVERPASS_HEADERS = {
|
||||
'User-Agent': 'NEOS (comma.ai)'
|
||||
'User-Agent': 'NEOS (comma.ai)',
|
||||
'Accept-Encoding': 'gzip'
|
||||
}
|
||||
|
||||
last_gps = None
|
||||
|
||||
Reference in New Issue
Block a user