Searched refs:useragent (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Lib/ |
D | robotparser.py | 130 def can_fetch(self, useragent, url): argument 153 if entry.applies_to(useragent): 198 def applies_to(self, useragent): argument 201 useragent = useragent.split("/")[0].lower() 207 if agent in useragent:
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestUserAgent.java | 67 String useragent = HttpProtocolParams.getUserAgent(request.getParams()); in process() local 68 if (useragent != null) { in process() 69 request.addHeader(HTTP.USER_AGENT, useragent); in process()
|
/external/apache-http/src/org/apache/http/params/ |
D | HttpProtocolParams.java | 160 public static void setUserAgent(final HttpParams params, final String useragent) { in setUserAgent() argument 164 params.setParameter(CoreProtocolPNames.USER_AGENT, useragent); in setUserAgent()
|
/external/curl/src/ |
D | tool_paramhlp.c | 538 if(!config->useragent) { in get_args() 539 config->useragent = my_useragent(); in get_args() 540 if(!config->useragent) { in get_args()
|
D | tool_cfgable.h | 37 char *useragent; member
|
D | tool_cfgable.c | 53 Curl_safefree(config->useragent); in free_config_fields()
|
D | tool_getparam.c | 1130 GetStr(&config->useragent, nextarg); in getparameter()
|
D | tool_operate.c | 947 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in operate_do()
|
/external/python/cpython2/Doc/library/ |
D | robotparser.rst | 50 .. method:: can_fetch(useragent, url) 52 Returns ``True`` if the *useragent* is allowed to fetch the *url*
|
/external/curl/lib/ |
D | http_proxy.c | 204 const char *useragent=""; in Curl_proxyCONNECT() local 234 useragent = conn->allocptr.uagent; in Curl_proxyCONNECT() 248 useragent, in Curl_proxyCONNECT()
|
/external/apache-http/api/ |
D | apache-http-legacy-current.txt | 3887 field public static final java.lang.String USER_AGENT = "http.useragent";
|
/external/curl/ |
D | CHANGES.0 | 15372 platforms. I converted the allocated useragent string to one that uses a
|