'Convert/check value type.'

def _convert_string_type(self, value):

    if (type(value) is str):
        return value
    raise AssertionError('Header    names/values    must    be    of    type    str    (got    {0})'.format(repr(value)))
