X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=client;h=922242d3bca8fe1cb447a19ca73698f5c70057d4;hb=1581df2665f96c2c23b4443534d250591e7ed23a;hp=c9682bd944e135b4a57f0bdb8c375f5bdf2188fa;hpb=00192d6acf47a29fcedba761125ebd9ccfb84dba;p=hippotat.git diff --git a/client b/client index c9682bd..922242d 100755 --- a/client +++ b/client @@ -105,8 +105,8 @@ def check_outbound(): lf = b'\n' mime = (b'--b' + crlf + b'Content-Disposition: form-data; name="m"' + crlf + crlf + - password + crlf + str(c.client) .encode('ascii') + crlf + + password + crlf + str(c.target_outstanding) .encode('ascii') + crlf + (( b'--b' + crlf + @@ -115,9 +115,9 @@ def check_outbound(): ) if len(d) else b'') + b'--b--' + crlf) - df = open('data.dump.dbg', mode='wb') - df.write(mime) - df.close() + #df = open('data.dump.dbg', mode='wb') + #df.write(mime) + #df.close() # POST -use -c 'multipart/form-data; boundary="b"' http://localhost:8099/