Searched refs:useragent (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Lib/urllib/ |
H A D | robotparser.py | 154 def can_fetch(self, useragent, url): 155 """using the parsed robots.txt decide if useragent can fetch url""" 175 if entry.applies_to(useragent): 183 def crawl_delay(self, useragent): 187 if entry.applies_to(useragent): 193 def request_rate(self, useragent): 197 if entry.applies_to(useragent): 253 def applies_to(self, useragent): 256 useragent = useragent [all...] |
/third_party/pulseaudio/src/modules/rtp/ |
H A D | rtsp_client.c | 64 const char *useragent; member 85 pa_rtsp_client* pa_rtsp_client_new(pa_mainloop_api *mainloop, const char *hostname, uint16_t port, const char *useragent, bool autoreconnect) { 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()
|
H A D | rtsp_client.h | 57 pa_rtsp_client* pa_rtsp_client_new(pa_mainloop_api *mainloop, const char *hostname, uint16_t port, const char *useragent, bool autoreconnect);
|
/third_party/curl/src/ |
H A D | tool_paramhlp.c | 665 if(!config->useragent) { in get_args() 666 config->useragent = my_useragent(); in get_args() 667 if(!config->useragent) { in get_args()
|
H A D | tool_cfgable.h | 49 char *useragent; member
|
H A D | tool_cfgable.c | 55 Curl_safefree(config->useragent); in free_config_fields()
|
H A D | tool_getparam.c | 1976 err = getstr(&config->useragent, nextarg, ALLOW_BLANK); in getparameter()
|
H A D | tool_operate.c | 1459 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in single_transfer()
|
Completed in 11 milliseconds