python 3 compatible response.text instead of body