Skip to content

Commit

Permalink
Set identifiable User-Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
filcole committed Dec 29, 2020
1 parent 178e10b commit 4005247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycarwings2/pycarwings2.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _request(self, endpoint, params):
'POST',
url=BASE_URL + endpoint,
data=params,
headers={"User-Agent": ""}
headers={"User-Agent": "pycarwings2/2.10"}
).prepare()

log.debug("invoking carwings API: %s" % req.url)
Expand Down

0 comments on commit 4005247

Please sign in to comment.