Home
last modified time | relevance | path

Searched refs:useragent (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/urllib/
H A Drobotparser.py154 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 Drtsp_client.c64 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 Drtsp_client.h57 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 Dtool_paramhlp.c665 if(!config->useragent) { in get_args()
666 config->useragent = my_useragent(); in get_args()
667 if(!config->useragent) { in get_args()
H A Dtool_cfgable.h49 char *useragent; member
H A Dtool_cfgable.c55 Curl_safefree(config->useragent); in free_config_fields()
H A Dtool_getparam.c1976 err = getstr(&config->useragent, nextarg, ALLOW_BLANK); in getparameter()
H A Dtool_operate.c1459 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in single_transfer()

Completed in 11 milliseconds