15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
17
import BaseHTTPServer, SimpleHTTPServer, socket, errno, time
21
22
class WebserverNotAvailable(Exception):
28
25
class TestingHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
29
26
def log_message(self, format, *args):
35
32
def handle_one_request(self):
36
33
"""Handle a single HTTP request.