From df4fd57fe409c4642dd98f202c9493bab02bd856 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 9 Jan 2008 15:15:36 +0000 Subject: Renaming http-client.py to cronjob.py is easier than explaining why the name is wrong. svn path=/scripts/Old/http-client.py; revision=1453 --- scripts/http-server.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 scripts/http-server.py (limited to 'scripts/http-server.py') diff --git a/scripts/http-server.py b/scripts/http-server.py deleted file mode 100644 index a966f6fa..00000000 --- a/scripts/http-server.py +++ /dev/null @@ -1,15 +0,0 @@ -# $Id$ - -import rpki.https, tlslite.api, rpki.config - -cfg = rpki.config.parser("http-demo.conf", "server") - -privateKey = rpki.x509.RSA(PEM_file = cfg.get("https-key")) - -certChain = rpki.x509.X509_chain() -certChain.load_from_PEM(cfg.multiget("https-cert")) - -def handler(query, path): - return 200, "Path: %s\nQuery: %s" % (path, query) - -rpki.https.server(privateKey = privateKey, certChain = certChain, handlers = handler) -- cgit v1.2.3