Home
last modified time | relevance | path

Searched refs:useragent (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Lib/urllib/
Drobotparser.py154 def can_fetch(self, useragent, url): argument
175 if entry.applies_to(useragent):
183 def crawl_delay(self, useragent): argument
187 if entry.applies_to(useragent):
193 def request_rate(self, useragent): argument
197 if entry.applies_to(useragent):
253 def applies_to(self, useragent): argument
256 useragent = useragent.split("/")[0].lower()
262 if agent in useragent:
/third_party/python/Doc/library/
Durllib.robotparser.rst43 .. method:: can_fetch(useragent, url)
45 Returns ``True`` if the *useragent* is allowed to fetch the *url*
60 .. method:: crawl_delay(useragent)
63 for the *useragent* in question. If there is no such parameter or it
64 doesn't apply to the *useragent* specified or the ``robots.txt`` entry
69 .. method:: request_rate(useragent)
73 If there is no such parameter or it doesn't apply to the *useragent*
/third_party/pulseaudio/src/modules/rtp/
Drtsp_client.c64 const char *useragent; member
85 …ainloop_api *mainloop, const char *hostname, uint16_t port, const char *useragent, bool autoreconn… in pa_rtsp_client_new() argument
98 if (useragent) in pa_rtsp_client_new()
99 c->useragent = useragent; in pa_rtsp_client_new()
101 c->useragent = "PulseAudio RTSP Client"; in pa_rtsp_client_new()
499 pa_strbuf_printf(buf, "User-Agent: %s\r\n", c->useragent); in rtsp_exec()
Drtsp_client.h57 …ainloop_api *mainloop, const char *hostname, uint16_t port, const char *useragent, bool autoreconn…
/third_party/curl/src/
Dtool_paramhlp.c572 if(!config->useragent) { in get_args()
573 config->useragent = my_useragent(); in get_args()
574 if(!config->useragent) { in get_args()
Dtool_cfgable.h55 char *useragent; member
Dtool_cfgable.c56 Curl_safefree(config->useragent); in free_config_fields()
Dtool_getparam.c1308 GetStr(&config->useragent, nextarg); in getparameter()
Dtool_operate.c1306 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in single_transfer()
/third_party/curl/lib/
Dhttp_proxy.c303 const char *useragent = ""; in CONNECT() local
312 useragent = data->state.aptr.uagent; in CONNECT()
326 useragent, in CONNECT()
/third_party/grpc/src/objective-c/tests/UnitTests/
DGRPCClientTests.m293 call.requestHeaders[@"x-grpc-test-echo-useragent"] = @"";
300 NSString *userAgent = call.responseHeaders[@"x-grpc-test-echo-useragent"];
DAPIv2Tests.m217 [NSDictionary dictionaryWithObjectsAndKeys:@"", @"x-grpc-test-echo-useragent", nil];
227 NSString *userAgent = initialMetadata[@"x-grpc-test-echo-useragent"];
/third_party/node/deps/npm/node_modules/psl/
Dyarn.lock2574 useragent "2.2.1"
4401 useragent@2.2.1:
4403 …resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.2.1.tgz#cf593ef4f2d175875e8bb658ea9…
/third_party/typescript/tests/lib/
Dreact16.d.ts2088 useragent?: string;