[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Use the HTTP Return JSON headers helper in the SSL helper
commit 58acc580bda64df33420c2c7359bae0c9dace073
Author: Arturo Filastò <art@xxxxxxxxx>
Date: Fri Dec 7 12:00:36 2012 +0100
Use the HTTP Return JSON headers helper in the SSL helper
---
oonib/oonibackend.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/oonib/oonibackend.py b/oonib/oonibackend.py
index c747bfd..c78317f 100644
--- a/oonib/oonibackend.py
+++ b/oonib/oonibackend.py
@@ -31,7 +31,7 @@ serviceCollection = service.IServiceCollection(application)
if config.helpers.ssl.port:
print "Starting SSL helper on %s" % config.helpers.ssl.port
ssl_helper = internet.SSLServer(int(config.helpers.ssl.port),
- server.Site(HTTPBackend()),
+ http_helpers.HTTPReturnJSONHeadersHelper()),
SSLContext(config))
ssl_helper.setServiceParent(serviceCollection)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits