Lines Matching refs:resp

21     resp = client.http(
35 assert resp['status'] == 200, 'status'
36 headers = resp['headers']
57 assert resp['body'] == body, 'body'
84 resp = client.get(url='/?var1=val1&var2=val2')
87 resp['headers']['query-string'] == 'var1=val1&var2=val2'
98 resp = client.get(url=url)
99 assert resp['status'] == 200
100 assert resp['headers']['prefix'] == prefix
132 resp = client.get(url='/ ?var1=val1&var2=val2')
134 resp['headers']['query-string'] == 'var1=val1&var2=val2'
137 resp = client.get(url='/ %20?var1=val1&var2=val2')
139 resp['headers']['query-string'] == 'var1=val1&var2=val2'
142 resp = client.get(url='/ %20 ?var1=val1&var2=val2')
144 resp['headers']['query-string'] == 'var1=val1&var2=val2'
147 resp = client.get(url='/blah %20 blah? var1= val1 & var2=val2')
149 resp['headers']['query-string'] == ' var1= val1 & var2=val2'
156 resp = client.get(url='/?')
158 assert resp['status'] == 200, 'query string empty status'
159 assert resp['headers']['query-string'] == '', 'query string empty'
165 resp = client.get()
167 assert resp['status'] == 200, 'query string absent status'
168 assert resp['headers']['query-string'] == '', 'query string absent'
216 resp = client.post(body=body, read_buffer_size=1024 * 1024)
218 assert resp['body'] == body, 'keep-alive 1'
235 (resp, sock) = client.post(
245 assert resp['body'] == body, 'keep-alive 1'
248 resp = client.post(sock=sock, body=body)
250 assert resp['body'] == body, 'keep-alive 2'
263 (resp, sock) = client.post(
273 assert resp['body'] == body, 'keep-alive open'
280 (resp, sock) = client.post(
291 assert resp['body'] == body, 'keep-alive request'
296 resp = client.post(sock=socks[i], body=body)
298 assert resp['body'] == body, 'keep-alive close'
310 (resp, sock) = client.post(
320 assert resp['body'] == body, 'reconfigure 2 keep-alive 1'
326 (resp, sock) = client.post(start=True, sock=sock, body=body)
328 assert resp['status'] == 200, 'reconfigure 2 keep-alive 2'
329 assert resp['body'] == '', 'reconfigure 2 keep-alive 2 body'
335 resp = client.get(sock=sock)
337 assert resp == {}, 'reconfigure 2 keep-alive 3'
358 resp = client.http(
367 assert resp['status'] == 200, 'reconfigure 3'
445 resp = client.recvall(sock).decode('utf-8')
447 client.log_in(resp)
449 resp = client._resp_to_dict(resp)
451 assert resp['status'] == 200, 'status'
453 threads.add(resp['headers']['x-thread'])
463 resp = client.get(
471 assert resp['status'] == 200, 'status'
477 resp = client.get(
485 assert resp['status'] == 200, 'status'