8 lines
229 B
Python
8 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)"}
|
||
|
|