'Send a request header line to the server.
For example: h.putheader(\'Accept\', \'text/html\')'

def putheader(self, header, *values):

    if (self.__state != _CS_REQ_STARTED):
        raise CannotSendHeader()
    hdr = ('%s:    %s' % (header, '\r\n DCTB '.join([str(v) for v in values])))
    self._output(hdr)
