Home
last modified time | relevance | path

Searched refs:post (Results 1 – 25 of 33) sorted by last modified time

12

/unit/docs/
H A Dunit-openapi.yaml1792 post:
2031 post:
2601 post:
/unit/test/
H A Dtest_asgi_application.py216 resp = client.post(body=body, read_buffer_size=1024 * 1024)
226 assert client.post(body=body)['body'] == body
235 (resp, sock) = client.post(
248 resp = client.post(sock=sock, body=body)
263 (resp, sock) = client.post(
280 (resp, sock) = client.post(
296 resp = client.post(sock=socks[i], body=body)
310 (resp, sock) = client.post(
326 (resp, sock) = client.post(start=True, sock=sock, body=body)
H A Dtest_node_application.py55 resp = client.post(
107 resp = client.post(
136 (resp, sock) = client.post(
149 resp = client.post(sock=sock, body=body)
264 client.post(
281 client.post(
H A Dtest_access_log.py40 (_, sock) = client.post(
54 _ = client.post(sock=sock, body='0123456789')
185 assert client.post()['status'] == 200, 'init'
199 assert client.post()['status'] == 200, 'init'
211 assert client.post()['status'] == 200, 'init'
225 assert client.post()['status'] == 200, 'init'
240 assert client.post()['status'] == 200, 'init'
309 client.post(url='/bbs', body=body, read_timeout=1)
H A Dtest_ruby_application.py18 resp = client.post(
115 client.post(body='0123456789')['body'] == '012345678'
123 client.post(body='0123456789')['body'] == '0123456789'
131 client.post(body='0123456789')['body'] == '0123456789'
140 assert client.post(body=body)['body'] == body, 'input gets'
147 client.post(body='01234\n56789\n')['body'] == '01234\n'
164 assert client.post(body=body)['body'] == body, 'input each'
286 resp = client.post(body="\ntc=one,two\ntc=three,four,\n\n")
302 client.post(body='\b')['status'] == 500
396 (resp, sock) = client.post(
[all …]
H A Dtest_usr1.py61 assert client.post(body=body)['status'] == 200
71 assert client.post(body=body)['status'] == 200
H A Dtest_upstreams_rr.py401 resps[client.post(body='0123456789')['status'] % 10] += 1
H A Dtest_tls.py642 client.post(
H A Dtest_variables.py92 assert client.post()['status'] == 200
H A Dtest_settings.py359 assert client.post(body='01234')['status'] == 200, 'status size'
360 assert client.post(body='012345')['status'] == 413, 'status size max'
371 resp = client.post(body=body, read_buffer_size=1024 * 1024)
376 resp = client.post(body=body, read_buffer_size=1024 * 1024)
381 resp = client.post(body=body, read_buffer_size=1024 * 1024)
386 resp = client.post(body=body, read_buffer_size=1024 * 1024)
412 resp = client.post(body=body)
418 resp = client.post(body=body, read_buffer_size=1024 * 1024)
424 resp = client.post(body=body, read_buffer_size=1024 * 1024)
430 resp = client.post(body=body, read_buffer_size=1024 * 1024)
H A Dtest_routing.py68 assert client.post()['status'] == 404, 'POST'
75 assert client.post()['status'] == 200, 'POST'
83 assert client.post()['status'] == 200, 'POST'
90 assert client.post()['status'] == 404, 'POST'
98 assert client.post()['status'] == 404, 'POST'
105 assert client.post()['status'] == 404, 'POST'
112 assert client.post()['status'] == 404, 'POST'
754 assert client.post()['status'] == 404, 'routes edit POST'
836 assert client.post()['status'] == 200, 'match edit POST'
847 assert client.post()['status'] == 200, 'match edit POST 2'
[all …]
H A Dtest_static.py198 assert client.post()['status'] == 405, 'POST'
H A Dtest_static_fallback.py66 resp = client.post()
H A Dtest_return.py47 resp = client.post(body='blah')
H A Dtest_php_application.py116 resp = client.post(
311 (resp, sock) = client.post(
324 resp = client.post(sock=sock, body=body)
333 assert re.search(r'False', client.post()['body']), 'conditional false'
349 resp = client.post(
H A Dtest_perl_application.py17 resp = client.post(
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'
139 assert client.post(body=body)['body'] == body, 'input copy'
184 resp = client.post(body=body)['body']
221 (resp, sock) = client.post(
[all …]
H A Dtest_python_application.py206 (resp, sock) = client.post(
234 (resp, sock) = client.post(
251 (resp, sock) = client.post(
281 (resp, sock) = client.post(
366 resp = client.post(body=body)
379 resp = client.post(body=body)
406 resp = client.post(body=body)
433 resp = client.post(
444 resp = client.post(
455 resp = client.post(
[all …]
H A Dtest_proxy.py102 return client.post(*args, http_10=True, **kwargs)
H A Dtest_java_application.py100 headers = client.post(
799 assert client.post()['status'] == 200, 'init'
802 (resp, sock) = client.post(
816 resp = client.post(
838 assert client.post()['status'] == 405, 'no method'
979 resp = client.post(
H A Dtest_node_websockets.py298 resp = client.post(
/unit/pkg/deb/
H A DMakefile301 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
329 -e "s#%%MODULE_POST%%#$$post#g" \
/unit/pkg/rpm/
H A DMakefile245 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
264 -e "s#%%MODULE_POST%%#$${post}#g" \
/unit/test/unit/
H A Dhttp.py170 def post(self, **kwargs): member in HTTP1
H A Dcontrol.py47 return self.post(**self._get_args(url, conf))['body']
/unit/test/unit/applications/
H A Dtls.py55 return self.post(wrapper=context.wrap_socket, **kwargs)

12