mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Issue purges over https
This commit is contained in:
@ -17,7 +17,7 @@ from setproctitle import setproctitle
|
||||
|
||||
def do_purge(consumername, headers):
|
||||
try:
|
||||
conn = httplib.HTTPConnection('%s.postgresql.org' % consumername)
|
||||
conn = httplib.HTTPSConnection('%s.postgresql.org' % consumername)
|
||||
conn.request("GET", "/varnish-purge-url", '', headers)
|
||||
resp = conn.getresponse()
|
||||
conn.close()
|
||||
|
Reference in New Issue
Block a user