choolwe1992 / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

2 Line fix to get it working with Google App Engine #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For anyone that needs it, and I would recommend this be implemented regardless 
for reasons below, here is the fix to get the google-voice-java library working 
on the app engine.

(For version 1.6) In Voice.java, lines 1215 and 1216, you can comment out the 
first, and change the second from setFollowRedirects to 
setInstanceFollowRedirects:

//HttpURLConnection.setInstanceFollowRedirects(false);
conn.setInstanceFollowRedirects(false);

I have tested this, and it will then work with the App Engine, but this fix 
should be implemented in any use as it localizes the settings to its specific 
use of the class.

Original issue reported on code.google.com by alexande...@gmail.com on 2 Jul 2010 at 1:03

GoogleCodeExporter commented 9 years ago
I have corrected this in the code base.

http://code.google.com/p/google-voice-java/source/detail?r=119

Original comment by liquid...@gmail.com on 2 Jul 2010 at 2:02

GoogleCodeExporter commented 9 years ago

Original comment by malone.j...@gmail.com on 30 Jul 2010 at 4:40