Fix unicode issues in HttpError and BatchHttpRequest
1) HttpError parses http response by json.loads. It accepts only unicode on PY3 while response is bytes. So decode response first. 2) BatchHttpRequest uses email.parser.FeedParser. It accepts only unicode on PY3, too. So encode parsed response to emulate normal http response.
Loading
Please sign in to comment