@property
    def headers_section(self):
        ret = ''
        if self.start_line:
            ret = self.start_line + '\r\n'
        for k, v in self.headers.all_pairs():
            ret = ret + "%s: %s\r\n" % (k, v)
        if ret:
            ret = ret + '\r\n'
        return ret
The raw text of the headers including the extra newline at the end.
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/http.py/HTTPMessage.headers_section