1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-04 20:47:09 +02:00

fix link dl option

This commit is contained in:
kakwa 2017-01-29 18:58:01 +01:00
parent a7955e12fc
commit 5b8d4b301a
3 changed files with 9 additions and 4 deletions

View file

@ -14,8 +14,8 @@ with open(tsq_path) as f:
counter=0
old_time = time.time()
while True:
h1 = httplib.HTTPConnection('localhost:2020')
#h1 = httplib.HTTPSConnection('localhost:2020', context=ssl._create_unverified_context())
#h1 = httplib.HTTPConnection('localhost:2020')
h1 = httplib.HTTPSConnection('freebsd.kakwa.fr:2020', context=ssl._create_unverified_context())
h1.request('POST', '/', body, {"Content-Type": "application/timestamp-query"})
response = h1.getresponse()
h1.close()