mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-10 08:19:35 +00:00
httpclient: fix headers being modified across invocations
This commit is contained in:
parent
b9ac0794aa
commit
bf8baa2c21
@ -45,6 +45,7 @@ class BaseSession:
|
||||
p = proxy.get()
|
||||
ua = user_agent.get()
|
||||
|
||||
headers = headers.copy()
|
||||
headers.setdefault('User-Agent', ua)
|
||||
|
||||
for i in range(1, t+1):
|
||||
|
Loading…
Reference in New Issue
Block a user