def writeHeaders(self, version, code, reason, headers):
    self.result['version'] = version
    self.result['code'] = code
    self.result['reason'] = reason
    self.result['headers'] = headers
def writeHeaders(self, version, code, reason, headers):
    self.result['version'] = version
    self.result['code'] = code
    self.result['reason'] = reason
    self.result['headers'] = headers