Home
last modified time | relevance | path

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

12

/unit/pkg/deb/
H A DMakefile227 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
255 -e "s#%%MODULE_POST%%#$$post#g" \
/unit/pkg/rpm/
H A DMakefile192 post=`echo "$$MODULE_POST_$*" | sed -e ':a' -e 'N' -e '$$!ba' -e "s/\n/\$$CR/g"` ; \
210 -e "s#%%MODULE_POST%%#$${post}#g" \
H A Dunit.module.spec.in105 %post
H A Dunit.spec.in44 Requires(post): systemd
143 %post
/unit/src/
H A Dnxt_controller.c1207 nxt_bool_t post; in nxt_controller_process_config() local
1241 post = 1; in nxt_controller_process_config()
1244 post = 0; in nxt_controller_process_config()
1247 if (post || nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_config()
1296 path, value, post); in nxt_controller_process_config()
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/test/
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'
287 self.post(url='/bbs', body=body, read_timeout=1)
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_asgi_websockets.py339 resp = 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_http_header.py213 self.post(
228 self.post(
243 self.post(
258 self.post(
273 self.post(
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_java_websockets.py266 resp = self.post(
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_node_websockets.py285 resp = self.post(
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_php_application.py66 resp = self.post(
226 (resp, sock) = self.post(
239 resp = self.post(sock=sock, body=body)
247 assert re.search(r'False', self.post()['body']), 'conditional false'
261 resp = self.post(
H A Dtest_proxy.py60 return self.post(*args, http_10=True, **kwargs)
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_return.py43 resp = self.post(body='blah')
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_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_settings.py267 assert self.post(body='01234')['status'] == 200, 'status size'
268 assert self.post(body='012345')['status'] == 413, 'status size max'
278 resp = self.post(body=body, read_buffer_size=1024 * 1024)
283 resp = self.post(body=body, read_buffer_size=1024 * 1024)
288 resp = self.post(body=body, read_buffer_size=1024 * 1024)
293 resp = self.post(body=body, read_buffer_size=1024 * 1024)
317 resp = self.post(body=body)
323 resp = self.post(body=body, read_buffer_size=1024 * 1024)
329 resp = self.post(body=body, read_buffer_size=1024 * 1024)
335 resp = self.post(body=body, read_buffer_size=1024 * 1024)
H A Dtest_static.py206 assert self.post()['status'] == 405, 'POST'
H A Dtest_static_fallback.py62 resp = self.post()

12