1 message in com.googlegroups.bloggerdevMaltformed Status Line error
FromSent OnAttachments
riklcw16 Jan 2006 00:54 
Subject:Maltformed Status Line error
From:riklcw (rik.@gmail.com)
Date:01/16/2006 12:54:23 AM
List:com.googlegroups.bloggerdev

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();