--HTTPS -> --https

dbinger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Tue, 05 Apr 2005 08:41:18 -0400
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------080303030701070702070702
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit



--------------080303030701070702070702
Content-Type: message/rfc822;
 name="SVN: r26472 - trunk/quixote/server"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="SVN: r26472 - trunk/quixote/server"

Return-Path: <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
Delivered-To: [email protected]
Received: (qmail 798 invoked from network); 5 Apr 2005 12:40:25 -0000
Received: from monk.mems-exchange.org (132.151.8.3)
	by 0 with SMTP; 5 Apr 2005 12:40:25 -0000
Received: (qmail 28725 invoked by alias); 5 Apr 2005 12:40:25 -0000
Delivered-To: mems-exchange.org-dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]
Received: (qmail 28721 invoked by alias); 5 Apr 2005 12:40:25 -0000
Delivered-To: mems-exchange.org-mems-cvs-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]
Received: (qmail 28719 invoked from network); 5 Apr 2005 12:40:25 -0000
Received: from miles.mems-exchange.org (132.151.8.12)
	by 132.151.8.3 with SMTP; 05 Apr 2005 08:40:25 -0400
Received: from dbinger by miles.mems-exchange.org with local (Exim 3.36 #1)
	id 1DInM0-0003V5-00
	for mems-cvs-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]; Tue, 05 Apr 2005 08:40:24 -0400
To: mems-cvs-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]
Subject: SVN: r26472 - trunk/quixote/server
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
Message-Id: <E1DInM0-0003V5-00-diuEHtAPqkYJ2/[email protected]>
Date: Tue, 05 Apr 2005 08:40:24 -0400

Author: dbinger
Date: 2005-04-05 08:40:24 -0400 (Tue, 05 Apr 2005)
New Revision: 26472

Modified:
   trunk/quixote/server/simple_server.py
Log:
Switch command-line HTTPS option to lowercase.

Changed:
server/simple_server.py


Modified: trunk/quixote/server/simple_server.py
===================================================================
--- trunk/quixote/server/simple_server.py	2005-04-05 10:34:43 UTC (rev 26471)
+++ trunk/quixote/server/simple_server.py	2005-04-05 12:40:24 UTC (rev 26472)
@@ -68,7 +68,7 @@
         return self.process(self.get_cgi_env('GET'))
 
 
-def run(create_publisher, host='', port=80, HTTPS=False):
+def run(create_publisher, host='', port=80, https=False):
     """Runs a simple, single threaded, synchronous HTTP server that
     publishes a Quixote application.
     """
@@ -83,11 +83,11 @@
     from quixote.server.util import get_server_parser
     parser = get_server_parser(run.__doc__)
     parser.add_option(
-        '--HTTPS', dest="https", default=False, action="store_true",
+        '--https', dest="https", default=False, action="store_true",
         help=("Force the scheme for all requests to be https.  "
               "Not that this is for running the simple server "
               "through a proxy or tunnel that provides real SSL "
               "support.  The simple server itself does not. "))
     (options, args) = parser.parse_args()
     run(import_object(options.factory), host=options.host, port=options.port,
-        HTTPS=options.https)
+        https=options.https)


--------------080303030701070702070702--