On Fri, Jan 25, 2013 at 10:15 AM, Levin Magruder <[email protected]> wrote: > Thanks Brad. Content length is probably the problem. If I were sending > content say like: > > format=xml&action=login&lgname=mybot&lgpassword=pwd[some trailing spaces] > > and the Content-Length: included some of those trailing spaces, would the > spaces be considered part of the passwd?
Yes. You shouldn't send any trailing spaces, send exactly Content-Length bytes. _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
