'Sets the raw representation of the given header.
@type name: L{bytes} or L{unicode}
@param name: The name of the HTTP header to set the values for.
@type values: L{list} of L{bytes} or L{unicode} strings
@param values: A list of strings each one being a header value of
the given name.
@return: L{None}'

def setRawHeaders(self, name, values):

    if (not isinstance(values, list)):
        raise TypeError(('Header    entry    %r    should    be    list    but    found    instance    of    %r    instead' % (name, type(values))))
    name = self._encodeName(name)
    self._rawHeaders[name] = self._encodeValues(values)
