various changes

This commit is contained in:
Sheppy
2017-09-26 11:40:36 +02:00
parent ba8478b064
commit 16d1a2309b
6 changed files with 23 additions and 6 deletions

11
herbstluftwm/test_cal.py Normal file
View File

@@ -0,0 +1,11 @@
import urllib3
import socket
http = urllib3.PoolManager()
socket.setdefaulttimeout(5)
url = 'https://squarez.fauiwg.de:7001/radicale/testuser/cal.ics/'
headers = urllib3.util.make_headers(basic_auth='testuser:test')
r = http.request('GET', url, headers=headers)
f = open(test.log,'w')
f.write(r)
f.close()