File: //proc/self/root/proc/3/cwd/usr/lib64/python2.4/BaseHTTPServer.pyo
m
=5Dc @ s d Z d Z d d g Z d k Z d k Z d k Z d k Z d k Z d Z d Z d e i
f d YZ d e i f d YZ
e
e d d
Z e d j o e n d S( s
HTTP server base class.
Note: the class in this module doesn't implement any HTTP request; see
SimpleHTTPServer for simple implementations of GET, HEAD and POST
(including CGI scripts). It does, however, optionally implement HTTP/1.1
persistent connections, as of version 0.3.
Contents:
- BaseHTTPRequestHandler: HTTP request handler base class
- test: test function
XXX To do:
- log requests even later (to capture byte count)
- log user-agent header and other interesting goodies
- send error log to separate file
s 0.3t
HTTPServert BaseHTTPRequestHandlerNs <head>
<title>Error response</title>
</head>
<body>
<h1>Error response</h1>
<p>Error code %(code)d.
<p>Message: %(message)s.
<p>Error code explanation: %(code)s = %(explain)s.
</body>
c C s( | i d d i d d i d d S( Nt &s &t <s <t >s >( t htmlt replace( R ( ( t&