'Respond to an image GET request with fake image content.'

def do_GET(self):

    if ('images' in self.path):
        self.send_response(http.OK)
        self.send_header('Content-Type', 'application/octet-stream')
        self.send_header('Content-Length', FIVE_KB)
        self.end_headers()
        image_data = ('*' * FIVE_KB)
        self.wfile.write(image_data)
        self.wfile.close()
        return
    else:
        self.send_error(http.NOT_FOUND, ('File    Not    Found:    %s' % self.path))
        return
