Hi,
I am trying to do a simple blogger client on j2me, does anyone know if
there is anything wrong with my code? whenever it goes to the
getresponsecode or opendatainputstream it would get error "IO error:
Malformed Status-Line", please kindly help, I panic with the question
for long. below are my codes... Thanks!
riklcw
=========================================
HttpsConnection httpConnection = null;
DataInputStream dataInputStream = null;
statusForm.append("openconnection... ");
httpConnection = (HttpsConnection) Connector.open(connectString);
String source = user+":"+pswd;
Base64 enc = new Base64();
byte[] encsrc = enc.encode(source.getBytes()) ;
httpConnection.setRequestProperty("Authorization", "Basic " + encsrc );
responseCode = httpConnection.getResponseCode();
dataInputStream = httpConnection.openDataInputStream();