MCPcopy Create free account
hub / github.com/devploit/nomore403 / request

Function request

cmd/api.go:182–184  ·  view source on GitHub ↗

request makes a single HTTP request using headers `headers` and proxy `proxy`.

(method, uri string, headers []header, proxy *url.URL, timeout int, redirect bool)

Source from the content-addressed store, hash-verified

180
181// request makes a single HTTP request using headers `headers` and proxy `proxy`.
182func request(method, uri string, headers []header, proxy *url.URL, timeout int, redirect bool) (ResponseInfo, error) {
183 return requestBody(method, uri, headers, "", proxy, timeout, redirect)
184}
185
186func requestBody(method, uri string, headers []header, body string, proxy *url.URL, timeout int, redirect bool) (ResponseInfo, error) {
187 if method == "" {

Callers

nothing calls this directly

Calls 1

requestBodyFunction · 0.85

Tested by

no test coverage detected