MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / sh_http_url_option

Function sh_http_url_option

src/pipeline/pass_shell.c:2142–2146  ·  view source on GitHub ↗

Options whose value is a URL that is not the request: a proxy, a referer. */

Source from the content-addressed store, hash-verified

2140
2141/* Options whose value is a URL that is not the request: a proxy, a referer. */
2142static bool sh_http_url_option(const char *o) {
2143 static const char *const OPTS[] = {"-x", "--proxy", "--preproxy", "-e",
2144 "--referer", "--doh-url", "--proxy1.0", NULL};
2145 return sh_in(o, OPTS);
2146}
2147
2148/* The method curl / wget sends: -X / --request / --method; a body (-d, -F,
2149 * --data*, --json, --form*, --post-data / --post-file) POST, -T PUT, -I HEAD,

Callers 1

sh_httpFunction · 0.85

Calls 1

sh_inFunction · 0.85

Tested by

no test coverage detected