OLD | NEW |
1 | 1 |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
3 <html><head><title>Python: module telemetry.core.memory_cache_http_server</title
> | 3 <html><head><title>Python: module telemetry.core.memory_cache_http_server</title
> |
4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
5 | 5 |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
8 <td valign=bottom> <br> | 8 <td valign=bottom> <br> |
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.memory_cache_http_server</stro
ng></big></big></font></td | 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.memory_cache_http_server</stro
ng></big></big></font></td |
10 ><td align=right valign=bottom | 10 ><td align=right valign=bottom |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 <hr> | 87 <hr> |
88 Class methods defined here:<br> | 88 Class methods defined here:<br> |
89 <dl><dt><a name="ByteRange-_make"><strong>_make</strong></a>(cls, iterable, new<
font color="#909090">=<built-in method __new__ of type object></font>, len
<font color="#909090">=<built-in function len></font>)<font color="#909090
"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin_
_.type</a></font></font></dt><dd><tt>Make a new <a href="#ByteRan
ge">ByteRange</a> object from a sequence or iterab
le</tt></dd></dl> | 89 <dl><dt><a name="ByteRange-_make"><strong>_make</strong></a>(cls, iterable, new<
font color="#909090">=<built-in method __new__ of type object></font>, len
<font color="#909090">=<built-in function len></font>)<font color="#909090
"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin_
_.type</a></font></font></dt><dd><tt>Make a new <a href="#ByteRan
ge">ByteRange</a> object from a sequence or iterab
le</tt></dd></dl> |
90 | 90 |
91 <hr> | 91 <hr> |
92 Static methods defined here:<br> | 92 Static methods defined here:<br> |
93 <dl><dt><a name="ByteRange-__new__"><strong>__new__</strong></a>(_cls, from_byte
, to_byte)</dt><dd><tt>Create new instance of <a href="#Byte
Range">ByteRange</a>(from_byte, to_byte)</tt></dd></dl> | 93 <dl><dt><a name="ByteRange-__new__"><strong>__new__</strong></a>(_cls, from_byte
, to_byte)</dt><dd><tt>Create new instance of <a href="#Byte
Range">ByteRange</a>(from_byte, to_byte)</tt></dd></dl> |
94 | 94 |
95 <hr> | 95 <hr> |
96 Data descriptors defined here:<br> | 96 Data descriptors defined here:<br> |
| 97 <dl><dt><strong>__dict__</strong></dt> |
| 98 <dd><tt>Return a new OrderedDict which maps field&
nbsp;names to their values</tt></dd> |
| 99 </dl> |
97 <dl><dt><strong>from_byte</strong></dt> | 100 <dl><dt><strong>from_byte</strong></dt> |
98 <dd><tt>Alias for field number 0</tt></dd> | 101 <dd><tt>Alias for field number 0</tt></dd> |
99 </dl> | 102 </dl> |
100 <dl><dt><strong>to_byte</strong></dt> | 103 <dl><dt><strong>to_byte</strong></dt> |
101 <dd><tt>Alias for field number 1</tt></dd> | 104 <dd><tt>Alias for field number 1</tt></dd> |
102 </dl> | 105 </dl> |
103 <hr> | 106 <hr> |
104 Data and other attributes defined here:<br> | 107 Data and other attributes defined here:<br> |
105 <dl><dt><strong>_fields</strong> = ('from_byte', 'to_byte')</dl> | 108 <dl><dt><strong>_fields</strong> = ('from_byte', 'to_byte')</dl> |
106 | 109 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 None, in which case the caller has nothing&nb
sp;further to do.</tt></dd></dl> | 226 None, in which case the caller has nothing&nb
sp;further to do.</tt></dd></dl> |
224 | 227 |
225 <dl><dt><a name="MemoryCacheHTTPRequestHandler-translate_path"><strong>translate
_path</strong></a>(self, path)</dt><dd><tt>Translate a /-separated&nbs
p;PATH to the local filename syntax.<br> | 228 <dl><dt><a name="MemoryCacheHTTPRequestHandler-translate_path"><strong>translate
_path</strong></a>(self, path)</dt><dd><tt>Translate a /-separated&nbs
p;PATH to the local filename syntax.<br> |
226 <br> | 229 <br> |
227 Components that mean special things to the lo
cal file system<br> | 230 Components that mean special things to the lo
cal file system<br> |
228 (e.g. drive or directory names) are ignored.
(XXX They should<br> | 231 (e.g. drive or directory names) are ignored.
(XXX They should<br> |
229 probably be diagnosed.)</tt></dd></dl> | 232 probably be diagnosed.)</tt></dd></dl> |
230 | 233 |
231 <hr> | 234 <hr> |
232 Data and other attributes inherited from <a href="SimpleHTTPServer.html#SimpleHT
TPRequestHandler">SimpleHTTPServer.SimpleHTTPRequestHandler</a>:<br> | 235 Data and other attributes inherited from <a href="SimpleHTTPServer.html#SimpleHT
TPRequestHandler">SimpleHTTPServer.SimpleHTTPRequestHandler</a>:<br> |
233 <dl><dt><strong>extensions_map</strong> = {'': 'application/octet-stream', '.123
': 'application/vnd.lotus-1-2-3', '.3dml': 'text/vnd.in3d.3dml', '.3g2': 'video/
3gpp2', '.3gp': 'video/3gpp', '.7z': 'application/x-7z-compressed', '.a': 'appli
cation/octet-stream', '.aab': 'application/x-authorware-bin', '.aac': 'audio/x-a
ac', '.aam': 'application/x-authorware-map', ...}</dl> | 236 <dl><dt><strong>extensions_map</strong> = {'': 'application/octet-stream', '.%':
'application/x-trash', '.323': 'text/h323', '.3gp': 'video/3gpp', '.7z': 'appli
cation/x-7z-compressed', '.a': 'application/octet-stream', '.abw': 'application/
x-abiword', '.ai': 'application/postscript', '.aif': 'audio/x-aiff', '.aifc': 'a
udio/x-aiff', ...}</dl> |
234 | 237 |
235 <dl><dt><strong>server_version</strong> = 'SimpleHTTP/0.6'</dl> | 238 <dl><dt><strong>server_version</strong> = 'SimpleHTTP/0.6'</dl> |
236 | 239 |
237 <hr> | 240 <hr> |
238 Methods inherited from <a href="BaseHTTPServer.html#BaseHTTPRequestHandler">Base
HTTPServer.BaseHTTPRequestHandler</a>:<br> | 241 Methods inherited from <a href="BaseHTTPServer.html#BaseHTTPRequestHandler">Base
HTTPServer.BaseHTTPRequestHandler</a>:<br> |
239 <dl><dt><a name="MemoryCacheHTTPRequestHandler-address_string"><strong>address_s
tring</strong></a>(self)</dt><dd><tt>Return the client address&nb
sp;formatted for logging.<br> | 242 <dl><dt><a name="MemoryCacheHTTPRequestHandler-address_string"><strong>address_s
tring</strong></a>(self)</dt><dd><tt>Return the client address&nb
sp;formatted for logging.<br> |
240 <br> | 243 <br> |
241 This version looks up the full hostname using
gethostbyaddr(),<br> | 244 This version looks up the full hostname using
gethostbyaddr(),<br> |
242 and tries to find a name that contains a
t least one dot.</tt></dd></dl> | 245 and tries to find a name that contains a
t least one dot.</tt></dd></dl> |
243 | 246 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 <dl><dt><strong>error_content_type</strong> = 'text/html'</dl> | 322 <dl><dt><strong>error_content_type</strong> = 'text/html'</dl> |
320 | 323 |
321 <dl><dt><strong>error_message_format</strong> = '<head><font color="#c040c
0">\n</font><title>Error response</title><font color="#c040c0">\n</f
ont></head><font color="#c040c0">\n</font><bo...ode explanation: %(code
)s = %(explain)s.<font color="#c040c0">\n</font></body><font color="#c040c
0">\n</font>'</dl> | 324 <dl><dt><strong>error_message_format</strong> = '<head><font color="#c040c
0">\n</font><title>Error response</title><font color="#c040c0">\n</f
ont></head><font color="#c040c0">\n</font><bo...ode explanation: %(code
)s = %(explain)s.<font color="#c040c0">\n</font></body><font color="#c040c
0">\n</font>'</dl> |
322 | 325 |
323 <dl><dt><strong>monthname</strong> = [None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', '
Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']</dl> | 326 <dl><dt><strong>monthname</strong> = [None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', '
Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']</dl> |
324 | 327 |
325 <dl><dt><strong>protocol_version</strong> = 'HTTP/1.0'</dl> | 328 <dl><dt><strong>protocol_version</strong> = 'HTTP/1.0'</dl> |
326 | 329 |
327 <dl><dt><strong>responses</strong> = {100: ('Continue', 'Request received, pleas
e continue'), 101: ('Switching Protocols', 'Switching to new protocol; obey Upgr
ade header'), 200: ('OK', 'Request fulfilled, document follows'), 201: ('Created
', 'Document created, URL follows'), 202: ('Accepted', 'Request accepted, proces
sing continues off-line'), 203: ('Non-Authoritative Information', 'Request fulfi
lled from cache'), 204: ('No Content', 'Request fulfilled, nothing follows'), 20
5: ('Reset Content', 'Clear input form for further input.'), 206: ('Partial Cont
ent', 'Partial content follows.'), 300: ('Multiple Choices', 'Object has several
resources -- see URI list'), ...}</dl> | 330 <dl><dt><strong>responses</strong> = {100: ('Continue', 'Request received, pleas
e continue'), 101: ('Switching Protocols', 'Switching to new protocol; obey Upgr
ade header'), 200: ('OK', 'Request fulfilled, document follows'), 201: ('Created
', 'Document created, URL follows'), 202: ('Accepted', 'Request accepted, proces
sing continues off-line'), 203: ('Non-Authoritative Information', 'Request fulfi
lled from cache'), 204: ('No Content', 'Request fulfilled, nothing follows'), 20
5: ('Reset Content', 'Clear input form for further input.'), 206: ('Partial Cont
ent', 'Partial content follows.'), 300: ('Multiple Choices', 'Object has several
resources -- see URI list'), ...}</dl> |
328 | 331 |
329 <dl><dt><strong>sys_version</strong> = 'Python/2.7.2'</dl> | 332 <dl><dt><strong>sys_version</strong> = 'Python/2.7.3'</dl> |
330 | 333 |
331 <dl><dt><strong>weekdayname</strong> = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'
, 'Sun']</dl> | 334 <dl><dt><strong>weekdayname</strong> = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'
, 'Sun']</dl> |
332 | 335 |
333 <hr> | 336 <hr> |
334 Methods inherited from <a href="SocketServer.html#StreamRequestHandler">SocketSe
rver.StreamRequestHandler</a>:<br> | 337 Methods inherited from <a href="SocketServer.html#StreamRequestHandler">SocketSe
rver.StreamRequestHandler</a>:<br> |
335 <dl><dt><a name="MemoryCacheHTTPRequestHandler-finish"><strong>finish</strong></
a>(self)</dt></dl> | 338 <dl><dt><a name="MemoryCacheHTTPRequestHandler-finish"><strong>finish</strong></
a>(self)</dt></dl> |
336 | 339 |
337 <dl><dt><a name="MemoryCacheHTTPRequestHandler-setup"><strong>setup</strong></a>
(self)</dt></dl> | 340 <dl><dt><a name="MemoryCacheHTTPRequestHandler-setup"><strong>setup</strong></a>
(self)</dt></dl> |
338 | 341 |
339 <hr> | 342 <hr> |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 <hr> | 490 <hr> |
488 Class methods defined here:<br> | 491 Class methods defined here:<br> |
489 <dl><dt><a name="ResourceAndRange-_make"><strong>_make</strong></a>(cls, iterabl
e, new<font color="#909090">=<built-in method __new__ of type object></fon
t>, len<font color="#909090">=<built-in function len></font>)<font color="
#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__b
uiltin__.type</a></font></font></dt><dd><tt>Make a new <a href="#
ResourceAndRange">ResourceAndRange</a> object from a sequenc
e or iterable</tt></dd></dl> | 492 <dl><dt><a name="ResourceAndRange-_make"><strong>_make</strong></a>(cls, iterabl
e, new<font color="#909090">=<built-in method __new__ of type object></fon
t>, len<font color="#909090">=<built-in function len></font>)<font color="
#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__b
uiltin__.type</a></font></font></dt><dd><tt>Make a new <a href="#
ResourceAndRange">ResourceAndRange</a> object from a sequenc
e or iterable</tt></dd></dl> |
490 | 493 |
491 <hr> | 494 <hr> |
492 Static methods defined here:<br> | 495 Static methods defined here:<br> |
493 <dl><dt><a name="ResourceAndRange-__new__"><strong>__new__</strong></a>(_cls, re
source, byte_range)</dt><dd><tt>Create new instance of <a hr
ef="#ResourceAndRange">ResourceAndRange</a>(resource, byte_range)</tt></dd>
</dl> | 496 <dl><dt><a name="ResourceAndRange-__new__"><strong>__new__</strong></a>(_cls, re
source, byte_range)</dt><dd><tt>Create new instance of <a hr
ef="#ResourceAndRange">ResourceAndRange</a>(resource, byte_range)</tt></dd>
</dl> |
494 | 497 |
495 <hr> | 498 <hr> |
496 Data descriptors defined here:<br> | 499 Data descriptors defined here:<br> |
| 500 <dl><dt><strong>__dict__</strong></dt> |
| 501 <dd><tt>Return a new OrderedDict which maps field&
nbsp;names to their values</tt></dd> |
| 502 </dl> |
497 <dl><dt><strong>byte_range</strong></dt> | 503 <dl><dt><strong>byte_range</strong></dt> |
498 <dd><tt>Alias for field number 1</tt></dd> | 504 <dd><tt>Alias for field number 1</tt></dd> |
499 </dl> | 505 </dl> |
500 <dl><dt><strong>resource</strong></dt> | 506 <dl><dt><strong>resource</strong></dt> |
501 <dd><tt>Alias for field number 0</tt></dd> | 507 <dd><tt>Alias for field number 0</tt></dd> |
502 </dl> | 508 </dl> |
503 <hr> | 509 <hr> |
504 Data and other attributes defined here:<br> | 510 Data and other attributes defined here:<br> |
505 <dl><dt><strong>_fields</strong> = ('resource', 'byte_range')</dl> | 511 <dl><dt><strong>_fields</strong> = ('resource', 'byte_range')</dl> |
506 | 512 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 </td></tr></table></td></tr></table><p> | 556 </td></tr></table></td></tr></table><p> |
551 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 557 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
552 <tr bgcolor="#eeaa77"> | 558 <tr bgcolor="#eeaa77"> |
553 <td colspan=3 valign=bottom> <br> | 559 <td colspan=3 valign=bottom> <br> |
554 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> | 560 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> |
555 | 561 |
556 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> | 562 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> |
557 <td width="100%"><dl><dt><a name="-Main"><strong>Main</strong></a>()</dt></dl> | 563 <td width="100%"><dl><dt><a name="-Main"><strong>Main</strong></a>()</dt></dl> |
558 </td></tr></table> | 564 </td></tr></table> |
559 </body></html> | 565 </body></html> |
OLD | NEW |