On bugs.sun.com I've found workarround - read getErrorStream instead
of getInputStream (when httpcode = 400).
It works fine but when I try to convert this stream into string using
solution from
http://www.java2s.com/Code/Java/File-Input-Output/ConvertInputStreamtoString.htm
than have
Thanks for reply, that's nice to know that problem with IOException is
a bug, not my fault :)
Regarding certificate - mentioned links shows how to get certificate
from my server. Unfortunetly server which I connect with, it's not my
server.
On 11 Lut, 17:00, joebowbeer joe.bowb...@gmail.com
3) Bob Lee explains how to get certificate from the server and add to
keystore.
http://crazybob.org/2010/02/android-trusting-ssl-certificates.html
Concerning #2 (getResponseCode throws an exception), see workaround in
this bug report:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4523989
3 matches
Mail list logo