Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP, Java 1.6, Spring Oauth security version 3.12
-
Number of attachments :
Description
I keep getting HTTP response 411 - Length Required when sending request to Google OAuthGetRequestToken. Anybody had the same problem when requesting token from Google.
https://www.google.com/accounts/OAuthGetRequestToken
It says that the content type must be "Content-Type: application/x-www-form-urlencoded", and I don't see this being set in the code.
Further info: http://code.google.com/apis/accounts/docs/OAuth_ref.html#RequestToken
Thanks, we'll take a look.