Custom PUT method results in 411 Length Required error #643
Labels
imported
priority: p0
Highest priority. Critical issue. P0 implies highest priority.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
From yan...@google.com on October 15, 2012 05:58:08
Version of google-api-java-client (e.g. 1.5.0-beta)? 1.11.0-beta Java environment (e.g. Java 6, Android 2.3, App Engine)? All Describe the problem. Call one of Google's custom methods using PUT fails with a 411 Length Required error due to missing Content-Length header. How would you expect it to be fixed? Client library should add "Content-Length: 0" header just like it does for POST. Similarly for PATCH.
Original issue: http://code.google.com/p/google-api-java-client/issues/detail?id=629
The text was updated successfully, but these errors were encountered: