|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/python2.6/ |
Upload File : |
Lc @ s d Z d Z d d g Z d d k Z d d k Z d d k Z d d k l Z l Z e i i z. e i o e d d e n d d k Z Wd QXd d k Z d 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 BaseHTTPRequestHandleriN( t filterwarningst catch_warningst ignores .*mimetools has been removeds <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> s text/htmlc C s( | i d d i d d i d d S( Nt &s &t <s <t >s >( t replace( t html( ( s&