Commit 1695c4eb authored by wang's avatar wang

wn fix

parent 32c4675f
......@@ -236,9 +236,10 @@ while True:
#
# if platform.uname().system == 'Darwin':
total += 1
# response = session.post(url, headers=headers, json=data)
# logger.info(f'tls:{tlsV} proxy:{proxy} res:: {response.status_code}')
status_code = 400
response = session.post(url, headers=headers, json=data)
logger.info(f'tls:{tlsV} proxy:{proxy} res:: {response.status_code}')
# status_code = 400
status_code = response.status_code
if status_code != 403:
success += 1
uri = 'http://ymx-lcc.unififi.com/header/add'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment