Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ClassCastException in ApacheHttpRequest.setContent #122
From yan...@google.com on May 29, 2012 11:20:49
Version of google-http-java-client (e.g. 1.5.0-beta)? 1.9.0-beta Java environment (e.g. Java 6, Android 2.3, App Engine)? Android 2.2 (Froyo) Describe the problem. See: https://groups.google.com/forum/?fromgroups#!topic/google-http-java-client/32ZFWeaAyVM stack trace copied here:
05-23 13:15:00.526: W/System.err(1168): java.lang.ClassCastException: org.apache.http.client.methods.HttpGet
A nicer option is that we could actually work around the limitation like we've done with HttpPatch. It should be easy enough to implement, but given how rare it is, it might not be important enough to fix.