You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When signing an OAuth1 request with Content-Type 'application/x-www-form-urlencoded' and a body, the header needs to be exactly "Content-Type".
The check oauthlib performs is case-sensitive, so neither "Content-type" nor "content-type" work and oauthlib will raise ValueError("Body contains parameters but Content-Type header was not set.") as if there weren't a content-type header at all.
The text was updated successfully, but these errors were encountered:
When signing an OAuth1 request with Content-Type 'application/x-www-form-urlencoded' and a body, the header needs to be exactly "Content-Type".
The check oauthlib performs is case-sensitive, so neither "Content-type" nor "content-type" work and oauthlib will raise ValueError("Body contains parameters but Content-Type header was not set.") as if there weren't a content-type header at all.
The text was updated successfully, but these errors were encountered: