summaryrefslogtreecommitdiff
path: root/www/quixote/files/patch-server-simple_server.py
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-13 08:34:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-13 08:34:10 +0000
commit29ce2e142f13e08a8c61b2d78d0db6da6ad5efe4 (patch)
treef58b24f5715c5f20c7b12e4c7e4dbadb9de8825f /www/quixote/files/patch-server-simple_server.py
parent- Note about updating of www/quixote (diff)
- Update to 2.0
- Require python 2.3+ PR: ports/79851 Submitted by: Dryice Liu <dryice@liu.com.cn> (maintainer)
Diffstat (limited to 'www/quixote/files/patch-server-simple_server.py')
-rw-r--r--www/quixote/files/patch-server-simple_server.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/quixote/files/patch-server-simple_server.py b/www/quixote/files/patch-server-simple_server.py
new file mode 100644
index 000000000000..8cabd842a984
--- /dev/null
+++ b/www/quixote/files/patch-server-simple_server.py
@@ -0,0 +1,11 @@
+--- server/simple_server.py.orig Tue Apr 5 21:38:19 2005
++++ server/simple_server.py Wed Apr 13 15:24:07 2005
+@@ -72,7 +72,7 @@
+ """Runs a simple, single threaded, synchronous HTTP server that
+ publishes a Quixote application.
+ """
+- if HTTPS:
++ if https:
+ HTTPRequestHandler.required_cgi_environment['HTTPS'] = 'on'
+ httpd = HTTPServer((host, port), HTTPRequestHandler)
+ publisher = create_publisher()