Encode the body before sending it
python3 requests returns binary request.content if it was gunzipped