def _convert_to_ascii(self, header, value):
        def convert(s):
            try:
                return s.decode('ascii')
            except __HOLE__:
                return s
        return convert(header), convert(value)

    #
    # charset
    #
dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/wrappers.py/WMResponse._convert_to_ascii