How to properly handle bytes HTTP method in Python 3 requests library?