On Fri, Jan 25, 2013 at 10:15 AM, Levin Magruder
<levin_magruder(a)yahoo.com> 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.