'Sends the headers of request.'

def putheader(self, name, value):

    if (sys.version_info < (3,)):
        name = str(name).decode('utf-8')
        value = str(value).decode('utf-8')
    self._httprequest.set_request_header(name, value)
