Message72144
The BaseHTTPServer docs don't mention 'server' as an instance variable
in the instance variable section for BaseHTTPRequestHandler. It is
mentioned in passing a few paragraphs above in the BaseHTTPServer class
description, but it's too easy to miss there.
Index: basehttpserver.rst
===================================================================
--- basehttpserver.rst (revision 66056)
+++ basehttpserver.rst (working copy)
@@ -68,6 +68,11 @@
address.
+ .. attribute:: server
+
+ Contains the server instance.
+
+
.. attribute:: command
Contains the command (request type). For example, ``'GET'``. |
|
Date |
User |
Action |
Args |
2008-08-29 15:54:00 | catlee | set | recipients:
+ catlee, georg.brandl |
2008-08-29 15:54:00 | catlee | set | messageid: <1220025240.46.0.36189752437.issue3730@psf.upfronthosting.co.za> |
2008-08-29 15:53:59 | catlee | link | issue3730 messages |
2008-08-29 15:53:58 | catlee | create | |
|