X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/dce21e00c38132b17ec973923f4f7d0cbf47049f..ef04103340f9c2f2666ea3a12bf6420758f2da6d:/hippotat diff --git a/hippotat b/hippotat index 56e3e45..a6ec7ae 100755 --- a/hippotat +++ b/hippotat @@ -185,13 +185,15 @@ class Client(): d = mime_translate(d) + token = authtoken_make(cl.c.secret) + crlf = b'\r\n' lf = b'\n' mime = (b'--b' + crlf + b'Content-Type: text/plain; charset="utf-8"' + crlf + b'Content-Disposition: form-data; name="m"' + crlf + crlf + str(cl.c.client) .encode('ascii') + crlf + - cl.c.secret + crlf + + token + crlf + str(cl.c.target_requests_outstanding) .encode('ascii') + crlf + str(cl.c.http_timeout) .encode('ascii') + crlf +