Add "Accept-Encoding: gzip" header to mapd.py to reduce data consumption (#525)

old-commit-hash: 03f13e614b
commatwo_master
eFini 6 years ago committed by Willem Melching
parent 3a420073e2
commit e405254e62
  1. 3
      selfdrive/mapd/mapd.py

@ -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

Loading…
Cancel
Save