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 www.livejournal.com port 80 the following string:
POST /interface/flat HTTP/1.0\r\nHost: www.livejournal.com\r\nContent-type: application/x-www-form-urlencoded\r\nCon
&user=test&password=test\r\n
(changing the content length to 35 doesn't change anything).
the socket connection is successful, but the reply i get ends in:
errmsg
Client error: No mode specified.
success
FAIL
what (moronic, presumably) thing am i doing here ?
-m-