Lines Matching refs:body
15 body = 'Test body string.'
24 body=body,
41 'Content-Length': str(len(body)),
56 assert resp['body'] == body, 'body'
106 client.post(body='0123456789')['body'] == '0123456789'
113 assert client.post(body='012345')['body'] == '012345', 'buffered read #1'
115 client.post(body='9876543210')['body'] == '9876543210'
122 assert client.post(body='012345')['body'] == '012345', 'input close #1'
124 client.post(body='9876543210')['body'] == '9876543210'
132 assert client.post(body='0123456789')['body'] == '4567', 'read offset'
138 body = '0123456789'
139 assert client.post(body=body)['body'] == body, 'input copy'
182 body = '0123456789' * 1000
184 resp = client.post(body=body)['body']
186 assert resp == body, 'body large'
220 body = '0123456789' * 500
228 body=body,
232 assert resp['body'] == body, 'keep-alive 1'
234 body = '0123456789'
242 body=body,
245 assert resp['body'] == body, 'keep-alive 2'