meirion (meirion) wrote in lj_clients,

ummm. hello.

and a question ;-)

i've finally got around to starting to write the lj client i've been talking about writing for the past six months or so. i note that there's a wxpython client just recently started development; mine is being written in wxwindows which is the original c++ version. i also note that the wxpython client is being primarily developed under windows, and i'll be primarily (to start with) developing under unix then cross-compiling and checking the results under winxp.

my question (extremely stupid, but i haven't solved it after a couple of hours' debugging -- all i can afford this week -- and another programmer has given it the quick once-over and can't see what i'm doing wrong):

i can't manage to login ! i send to port 80 the following string:

POST /interface/flat HTTP/1.0\r\nHost:\r\nContent-type: application/x-www-form-urlencoded\r\nContent-length: 34\r\n\r\nmode=login

(changing the content length to 35 doesn't change anything).

the socket connection is successful, but the reply i get ends in:

Client error: No mode specified.

what (moronic, presumably) thing am i doing here ?

  • Post a new comment


    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened