Home
last modified time | relevance | path

Searched refs:post (Results 1 – 25 of 32) sorted by relevance

12

/unit/test/
H A Dtest_perl_application.py15 resp = self.post(
100 self.post(body='0123456789')['body'] == '0123456789'
106 assert self.post(body='012345')['body'] == '012345', 'buffered read #1'
108 self.post(body='9876543210')['body'] == '9876543210'
114 assert self.post(body='012345')['body'] == '012345', 'input close #1'
116 self.post(body='9876543210')['body'] == '9876543210'
123 assert self.post(body='0123456789')['body'] == '4567', 'read offset'
129 assert self.post(body=body)['body'] == body, 'input copy'
168 resp = self.post(body=body)['body']
195 (resp, sock) = self.post(
[all …]
H A Dtest_ruby_application.py16 resp = self.post(
108 self.post(body='0123456789')['body'] == '012345678'
115 self.post(body='0123456789')['body'] == '0123456789'
122 self.post(body='0123456789')['body'] == '0123456789'
130 assert self.post(body=body)['body'] == body, 'input gets'
136 self.post(body='01234\n56789\n')['body'] == '01234\n'
151 assert self.post(body=body)['body'] == body, 'input each'
278 resp = self.post(body="\ntc=one,two\ntc=three,four,\n\n")
293 self.post(body='\b')['status'] == 500
346 (resp, sock) = self.post(
[all …]
H A Dtest_access_log.py26 (resp, sock) = self.post(
41 resp = self.post(
170 assert self.post()['status'] == 200, 'init'
183 assert self.post()['status'] == 200, 'init'
194 assert self.post()['status'] == 200, 'init'
207 assert self.post()['status'] == 200, 'init'
221 assert self.post()['status'] == 200, 'init'
H A Dtest_python_application.py141 resp = self.post(
165 (resp, sock) = self.post(
179 resp = self.post(
236 resp = self.post(
257 (resp, sock) = self.post(
274 (resp, sock) = self.post(
348 resp = self.post(body=body)
410 resp = self.post(
421 resp = self.post(
432 resp = self.post(
[all …]
H A Dtest_settings.py269 assert self.post(body='01234')['status'] == 200, 'status size'
270 assert self.post(body='012345')['status'] == 413, 'status size max'
280 resp = self.post(body=body, read_buffer_size=1024 * 1024)
285 resp = self.post(body=body, read_buffer_size=1024 * 1024)
290 resp = self.post(body=body, read_buffer_size=1024 * 1024)
295 resp = self.post(body=body, read_buffer_size=1024 * 1024)
319 resp = self.post(body=body)
325 resp = self.post(body=body, read_buffer_size=1024 * 1024)
331 resp = self.post(body=body, read_buffer_size=1024 * 1024)
337 resp = self.post(body=body, read_buffer_size=1024 * 1024)
H A Dtest_node_application.py42 resp = self.post(
94 resp = self.post(
123 (resp, sock) = self.post(
137 resp = self.post(
241 self.post(
257 self.post(
H A Dtest_go_application.py19 resp = self.post(
65 resp = self.post(
94 (resp, sock) = self.post(
108 resp = self.post(
H A Dtest_asgi_application.py153 resp = self.post(
171 (resp, sock) = self.post(
185 resp = self.post(
207 (resp, sock) = self.post(
225 (resp, sock) = self.post(
242 resp = self.post(
263 (resp, sock) = self.post(
280 (resp, sock) = self.post(
H A Dtest_http_header.py213 self.post(
228 self.post(
243 self.post(
258 self.post(
273 self.post(
H A Dtest_routing.py57 assert self.post()['status'] == 404, 'POST'
63 assert self.post()['status'] == 200, 'POST'
70 assert self.post()['status'] == 200, 'POST'
76 assert self.post()['status'] == 404, 'POST'
83 assert self.post()['status'] == 404, 'POST'
89 assert self.post()['status'] == 404, 'POST'
95 assert self.post()['status'] == 404, 'POST'
700 assert self.post()['status'] == 404, 'routes edit POST'
781 assert self.post()['status'] == 200, 'match edit POST'
792 assert self.post()['status'] == 200, 'match edit POST 2'
[all …]
H A Dtest_usr1.py60 assert self.post(body=body)['status'] == 200
70 assert self.post(body=body)['status'] == 200
H A Dtest_variables.py30 assert self.post()['status'] == 202, 'method POST'
89 assert self.post()['status'] == 202
H A Dtest_java_application.py93 headers = self.post(
824 assert self.post()['status'] == 200, 'init'
827 (resp, sock) = self.post(
841 resp = self.post(
861 assert self.post()['status'] == 405, 'no method'
976 resp = self.post(
H A Dtest_php_application.py65 resp = self.post(
225 (resp, sock) = self.post(
239 resp = self.post(
255 assert re.search(r'False', self.post()['body']), 'conditional false'
269 resp = self.post(
H A Dtest_static_fallback.py62 resp = self.post()
H A Dtest_return.py43 resp = self.post(body='blah')
H A Dtest_static.py252 assert self.post()['status'] == 405, 'POST'
H A Dtest_upstreams_rr.py388 resps[self.post(body='0123456789')['status'] % 10] += 1
/unit/test/unit/
H A Dcontrol.py47 return self.post(**self._get_args(url, conf))['body']
/unit/test/unit/applications/
H A Dtls.py53 return self.post(wrapper=self.context.wrap_socket, **kwargs)
/unit/src/
H A Dnxt_event_engine.c293 nxt_bool_t post; in nxt_event_engine_signal_pipe() local
301 post = 0; in nxt_event_engine_signal_pipe()
313 post = 1; in nxt_event_engine_signal_pipe()
323 if (post) { in nxt_event_engine_signal_pipe()
/unit/pkg/rpm/
H A Dunit.module.spec.in116 %post
H A DMakefile223 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
241 -e "s#%%MODULE_POST%%#$${post}#g" \
H A Dunit.spec.in48 Requires(post): systemd
152 %post
/unit/pkg/deb/
H A DMakefile226 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
254 -e "s#%%MODULE_POST%%#$$post#g" \

12