class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
    """modify Content-type """

def guess_type(self, path):
    pass
How do I serve image Content-types with Python BaseHTTPServerRequestHandler do_GET method?