mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
Update http.py
This commit is contained in:
parent
3ec03d9b06
commit
8e063a116d
@ -76,7 +76,7 @@ class HTTPClient:
|
|||||||
uid = route.uid
|
uid = route.uid
|
||||||
|
|
||||||
self.__headers.clear()
|
self.__headers.clear()
|
||||||
if not self.__agent != '':
|
if self.__agent != '':
|
||||||
self.__headers['User-Agent'] = self.__agent
|
self.__headers['User-Agent'] = self.__agent
|
||||||
|
|
||||||
kwargs['headers'] = {**utils.get_default_header(), **self.__headers}
|
kwargs['headers'] = {**utils.get_default_header(), **self.__headers}
|
||||||
|
Loading…
Reference in New Issue
Block a user