While writing integration tests for an application that uses google-auth-oauthlib, I noticed that it sends requests to Google API with 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'. HTTPrettyRequest.parse_request_body isn't ready for the charset part (relevant source) and doesn't decode such a body.
While writing integration tests for an application that uses google-auth-oauthlib, I noticed that it sends requests to Google API with
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
.HTTPrettyRequest.parse_request_body
isn't ready for the charset part (relevant source) and doesn't decode such a body.