mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Some diagnostic output for http update check mode
This commit is contained in:
parent
ba96af1a78
commit
3a045e40c3
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ def check_http(app):
|
|||
|
||||
vercode = "99999999"
|
||||
if len(urlcode) > 0:
|
||||
print "...requesting {0}".format(urlcode)
|
||||
req = urllib2.Request(urlcode, None)
|
||||
resp = urllib2.urlopen(req, None, 20)
|
||||
page = resp.read()
|
||||
|
|
@ -59,6 +60,7 @@ def check_http(app):
|
|||
version = "??"
|
||||
if len(urlver) > 0:
|
||||
if urlver != '.':
|
||||
print "...requesting {0}".format(urlver)
|
||||
req = urllib2.Request(urlver, None)
|
||||
resp = urllib2.urlopen(req, None, 20)
|
||||
page = resp.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue