How to fix Python requests library incorrectly handling bytes HTTP method like b'GET'?