def str_p3_response( string ) :
    if IS_PYTHON_3 :
        return string.decode( 'ASCII' )
    return string
Since response.content is a binary string in python 3,
dataset/ETHPy150Open gregmuellegger/django-mobile/django_mobile_tests/test_base.py/str_p3_response