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_python_application.py158 (resp, sock) = self.post(
185 (resp, sock) = self.post(
202 (resp, sock) = self.post(
231 (resp, sock) = self.post(
312 resp = self.post(body=body)
324 resp = self.post(body=body)
349 resp = self.post(body=body)
374 resp = self.post(
385 resp = self.post(
396 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_access_log.py35 (resp, sock) = self.post(
49 resp = self.post(sock=sock, body='0123456789')
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'
309 self.post(url='/bbs', body=body, read_timeout=1)
H A Dtest_node_application.py42 resp = self.post(
94 resp = self.post(
123 (resp, sock) = self.post(
136 resp = self.post(sock=sock, body=body)
232 self.post(
248 self.post(
H A Dtest_go_application.py19 resp = self.post(
65 resp = self.post(
94 (resp, sock) = self.post(
107 resp = self.post(sock=sock, body=body)
H A Dtest_asgi_application.py163 resp = self.post(body=body, read_buffer_size=1024 * 1024)
173 (resp, sock) = self.post(
186 resp = self.post(sock=sock, body=body)
200 (resp, sock) = self.post(
217 (resp, sock) = self.post(
233 resp = self.post(sock=socks[i], body=body)
246 (resp, sock) = self.post(
262 (resp, sock) = self.post(start=True, sock=sock, body=body)
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_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(
238 resp = self.post(sock=sock, body=body)
246 assert re.search(r'False', self.post()['body']), 'conditional false'
260 resp = self.post(
H A Dtest_variables.py35 assert self.post()['status'] == 202, 'method POST'
162 assert self.post()['status'] == 202
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 DMakefile190 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
208 -e "s#%%MODULE_POST%%#$${post}#g" \
H A Dunit.module.spec.in105 %post
H A Dunit.spec.in44 Requires(post): systemd
141 %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