oebb_py/classes/httpclient.py
2017-11-02 13:43:46 +01:00

7 lines
229 B
Python

import requests
class HTTPClient(requests.Session):
def __init__(self, *args, **kwargs):
requests.Session.__init__(self, *args, **kwargs)
self.headers = {"User-Agent": "oebb_py/git (+https://kumig.it/kumitterer/oebb_py)"}