def send_header(self, header):
        header.extract_request()
        self.send_line(' '.join(
            (header.method, header.path, header.proto)))
        self.send_line('Connection: close')
        for line in header.lines[1:]:
            if not (line.startswith('Keep-Alive: ') or
                    line.startswith('Connection: ') or
                    line.startswith('Proxy-')):
                self.send_line(line)
        self.send_line('')
Send HTTP request header to the server.
dataset/ETHPy150Open jcrocholl/throxy/throxy.py/ServerChannel.send_header