Lines Matching refs:body

22     body = 'Test body string.'
52 'Content-Length': str(len(body)),
65 assert resp['body'] == body, 'body'
190 resp = client.post(body='0123456789')
205 body = '0123456789' * 500
212 body=body,
216 assert resp['body'] == body, 'keep-alive 1'
218 body = '0123456789'
219 resp = client.post(sock=sock, body=body)
221 assert resp['body'] == body, 'keep-alive 2'
229 body = '0123456789'
240 body=body,
244 assert resp['body'] == body, 'keep-alive open'
258 body=body,
262 assert resp['body'] == body, 'keep-alive request'
267 resp = client.post(sock=socks[i], body=body)
269 assert resp['body'] == body, 'keep-alive close'
279 body = '0123456789'
287 body=body,
291 assert resp['body'] == body, 'reconfigure 2 keep-alive 1'
297 (resp, sock) = client.post(start=True, sock=sock, body=body)
361 body = '''0123456789
366 resp = client.post(body=body)
367 assert resp['body'] == body, 'input iter'
374 body = '''0123456789
379 resp = client.post(body=body)
380 assert resp['body'] == body, 'input readline'
387 body = '''0123456789
392 assert client.post(body=body)['body'] == body, 'input readline size'
394 client.post(body='0123')['body'] == '0123'
401 body = '''0123456789
406 resp = client.post(body=body)
407 assert resp['body'] == body, 'input readlines'
414 body = (
424 client.post(body=body, read_buffer_size=16384)['body'] == body
431 body = '0123456789'
439 body=body,
442 assert resp['body'] == body[:5], 'input read length lt body'
450 body=body,
453 assert resp['body'] == body, 'input read length gt body'
461 body=body,
472 body=body,
475 assert resp['body'] == body, 'input read length negative'