Searched refs:useragent (Results 1 – 14 of 14) sorted by relevance
/third_party/python/Lib/urllib/ |
D | robotparser.py | 154 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/ |
D | urllib.robotparser.rst | 43 .. 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/ |
D | rtsp_client.c | 64 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()
|
D | rtsp_client.h | 57 …ainloop_api *mainloop, const char *hostname, uint16_t port, const char *useragent, bool autoreconn…
|
/third_party/curl/src/ |
D | tool_paramhlp.c | 572 if(!config->useragent) { in get_args() 573 config->useragent = my_useragent(); in get_args() 574 if(!config->useragent) { in get_args()
|
D | tool_cfgable.h | 55 char *useragent; member
|
D | tool_cfgable.c | 56 Curl_safefree(config->useragent); in free_config_fields()
|
D | tool_getparam.c | 1308 GetStr(&config->useragent, nextarg); in getparameter()
|
D | tool_operate.c | 1306 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in single_transfer()
|
/third_party/curl/lib/ |
D | http_proxy.c | 303 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/ |
D | GRPCClientTests.m | 293 call.requestHeaders[@"x-grpc-test-echo-useragent"] = @""; 300 NSString *userAgent = call.responseHeaders[@"x-grpc-test-echo-useragent"];
|
D | APIv2Tests.m | 217 [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/ |
D | yarn.lock | 2574 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/ |
D | react16.d.ts | 2088 useragent?: string;
|