def send_head(self):
        if self.is_cgi():
            return self.run_cgi()
        else:
            return SimpleHTTPServer.SimpleHTTPRequestHandler.send_head(self)
Version of send_head that support CGI scripts
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/CGIHTTPServer.py/CGIHTTPRequestHandler.send_head