X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=hippotat;h=a6ec7aec06405b8315d1120d50e70be83776eeb2;hb=ef04103340f9c2f2666ea3a12bf6420758f2da6d;hp=56e3e458daaa77a5ff7f5cedfd8ad1588792b6fa;hpb=dce21e00c38132b17ec973923f4f7d0cbf47049f;p=hippotat.git 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 +