MCPcopy Create free account
hub / github.com/VKCOM/kphp / http_request

Method http_request

tests/python/lib/web_server.py:46–55  ·  view source on GitHub ↗

Send a request to the web server :param http_port: the port to send to, if there are multiple :param uri: the URI of the request :param method: the HTTP method of the request :param kwargs: additional parameters passed to the request :return: the resp

(self, uri='/', method='GET', http_port=None, timeout=30, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

http_postMethod · 0.95
http_getMethod · 0.95
test_posix_getpidMethod · 0.80
test_posix_getuidMethod · 0.80
test_posix_getpwuidMethod · 0.80
test_method_getMethod · 0.80
test_method_postMethod · 0.80
test_method_headMethod · 0.80
test_method_putMethod · 0.80
test_method_deleteMethod · 0.80

Calls 1

send_http_requestFunction · 0.85

Tested by 15

test_posix_getpidMethod · 0.64
test_posix_getuidMethod · 0.64
test_posix_getpwuidMethod · 0.64
test_method_getMethod · 0.64
test_method_postMethod · 0.64
test_method_headMethod · 0.64
test_method_putMethod · 0.64
test_method_deleteMethod · 0.64
test_method_patchMethod · 0.64
test_method_traceMethod · 0.64