MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / get

Method get

src/client/blocking/mod.rs:21–28  ·  view source on GitHub ↗
(
        &self,
        py: Python<'_>,
        url: PyBackedStr,
        kwds: Option<RequestParams>,
    )

Source from the content-addressed store, hash-verified

19 /// Make a GET request to the specified URL.
20 #[pyo3(signature = (url, **kwds))]
21 pub fn get(
22 &self,
23 py: Python<'_>,
24 url: PyBackedStr,
25 kwds: Option<RequestParams>,
26 ) -> PyResult<BlockingResponse> {
27 self.request(py, Method::GET, url, kwds)
28 }
29
30 /// Make a POST request to the specified URL.
31 #[pyo3(signature = (url, **kwds))]

Callers 15

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.45
header_map.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

requestMethod · 0.45

Tested by 15

test_bad_builderFunction · 0.36
test_timeout_errorFunction · 0.36
test_connection_errorFunction · 0.36
test_urlparse_errorFunction · 0.36
test_authFunction · 0.36
test_bearer_authFunction · 0.36
test_basic_authFunction · 0.36
test_gzipFunction · 0.36
test_deflateFunction · 0.36