| /external/curl/docs/cmdline-opts/ |
| D | Makefile.inc | 21 # SPDX-License-Identifier: curl 48 abstract-unix-socket.md \ 49 alt-svc.md \ 52 aws-sigv4.md \ 53 basic.md \ 54 ca-native.md \ 57 cert-status.md \ 58 cert-type.md \ 61 compressed-ssh.md \ 64 connect-timeout.md \ [all …]
|
| /external/curl/docs/ |
| D | options-in-versions | 13 --abstract-unix-socket 7.53.0 14 --alt-svc 7.64.1 15 --anyauth 7.10.6 16 --append (-a) 4.8 17 --aws-sigv4 7.75.0 18 --basic 7.10.6 19 --ca-native 8.2.0 20 --cacert 7.5 21 --capath 7.9.8 22 --cert (-E) 5.0 [all …]
|
| D | MANUAL.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 11 Get the main page from a web-server: 15 Get a README file from an FTP server: 17 curl ftp://ftp.example.com/README 23 Get a directory listing of an FTP site: 25 curl ftp://ftp.example.com/ 37 curl ftp://ftp.example.com/ http://www.example.com:8000/ 45 curl --ftp-ssl ftp://files.are.example.com/secrets.txt [all …]
|
| D | curl.1 | 8 .\" * Copyright (C) 1998 \- 2021, Daniel Stenberg, <daniel@haxx.se>, et al. 27 curl \- transfer a URL 32 protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, 38 authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer 42 curl is powered by libcurl for all transfer-related features. See 45 The URL syntax is protocol-dependent. You find a detailed description in 55 "ftp://ftp.example.com/file[1-100].txt" 57 "ftp://ftp.example.com/file[001-100].txt" (with leading zeros) 59 "ftp://ftp.example.com/file[a-z].txt" 64 "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html" [all …]
|
| /external/curl/tests/data/ |
| D | test1401 | 6 HTTP Basic auth 9 --libcurl 13 # Server-side 18 Server: test-server/fake 19 Content-Length: 0 20 Content-Type: text/plain 26 # Client-side 32 --libcurl for GET with various options 36 ftp 44 … --libcurl %LOGDIR/test%TESTNUMBER.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops,… [all …]
|
| D | test973 | 5 FTP 6 --location 11 # Server-side 16 Server: test-server/fake 17 Content-Length: 0 19 Content-Type: text/html 20 Location: ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER0002 27 that FTP 35 Server: test-server/fake 36 Content-Length: 0 [all …]
|
| D | test975 | 5 FTP 6 --location-trusted 11 # Server-side 16 Server: test-server/fake 17 Content-Length: 0 19 Content-Type: text/html 20 Location: ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER0002 27 that FTP 35 Server: test-server/fake 36 Content-Length: 0 [all …]
|
| D | test299 | 4 FTP 11 # Server-side 16 Server: test-server/fake 23 # Client-side 29 ftp 33 FTP over HTTP proxy with user:pass not in url 36 -x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/%TESTNUMBER 43 GET ftp://michal:aybabtu@host.com/we/want/%TESTNUMBER HTTP/1.1 45 Authorization: Basic bWljaGFsOmF5YmFidHU= 46 User-Agent: curl/%VERSION [all …]
|
| D | test208 | 4 FTP 11 # Server-side 16 Server: test-server/fake 23 # Client-side 29 ftp 33 HTTP PUT to a FTP URL with username+password - over HTTP proxy 36 -x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER -T %LOGDIR/test%TEST… 54 PUT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER HTTP/1.1 56 Authorization: Basic ZGFuaWVsOm15c2VjcmV0 57 User-Agent: curl/%VERSION [all …]
|
| /external/python/cpython3/Lib/urllib/ |
| D | request.py | 5 below). It opens the URL and returns the results as file-like 13 non-error returns. The HTTPRedirectHandler automatically deals with 17 urlopen(url, data=None) -- Basic usage is the same as original 19 get a file-like object back. One difference is that you can also pass 24 build_opener -- Function that creates a new OpenerDirector instance. 30 install_opener -- Installs a new opener as the default opener. 34 OpenerDirector -- Sets up the User Agent as the Python-urllib client and manages 37 Request -- An object that encapsulates the state of a request. The 39 headers, e.g. a User-Agent. 41 BaseHandler -- [all …]
|
| /external/python/cpython2/Lib/ |
| D | urllib.py | 8 "HTTP - Hypertext Transfer Protocol", at 12 - RFC1808: the "relative URL" spec. (authoritative status) 13 - RFC1738 - the "URL standard". (authoritative status) 14 - RFC1630 - the "URI spec". (informational status) 43 __version__ = '1.17' # XXX This version is not always updated :-( 45 MAXFTPCACHE = 10 # Trim the ftp cache beyond this size 47 # Helper for non-unix systems 54 """OS-specific conversion from a relative URL of the 'file' scheme 59 """OS-specific conversion from a file system path to a relative URL 70 # Shortcut for basic usage [all …]
|
| D | urllib2.py | 5 below). It opens the URL and returns the results as file-like 13 non-error returns. The HTTPRedirectHandler automatically deals with 17 urlopen(url, data=None) -- Basic usage is the same as original 19 get a file-like object back. One difference is that you can also pass 24 build_opener -- Function that creates a new OpenerDirector instance. 30 install_opener -- Installs a new opener as the default opener. 34 OpenerDirector -- Sets up the User Agent as the Python-urllib client and manages 37 Request -- An object that encapsulates the state of a request. The 39 headers, e.g. a User-Agent. 41 BaseHandler -- [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_urllib2.py | 94 interface. However, .headers pre-dates those methods, and so real code 98 reason: code that previously saw all (urllib2 user)-provided headers in 104 headers={"Spam-eggs": "blah"} 105 ).headers["Spam-eggs"], "blah") 107 headers={"spam-EggS": "blah"} 108 ).headers["Spam-eggs"], "blah") 113 .capitalize()-case. This should be preserved for 114 backwards-compatibility. (In the HTTP case, normalization to 115 .title()-case is done by urllib2 before sending headers to 118 Note that e.g. r.has_header("spam-EggS") is currently False, and [all …]
|
| /external/python/cpython2/Doc/howto/ |
| D | urllib2.rst | 1 .. _urllib-howto: 12 HOWTO, available at `urllib2 - Le Manuel manquant 25 * `Basic Authentication <http://www.voidspace.org.uk/python/articles/authentication.shtml>`_ 27 A tutorial on *Basic Authentication*, with examples in Python. 33 handling common situations - like basic authentication, cookies, proxies and so 37 before the ``":"`` in URL - for example ``"ftp"`` is the URL scheme of 38 ``"ftp://python.org/"``) using their associated network protocols (e.g. FTP, HTTP). 42 encounter errors or non-trivial cases when opening HTTP URLs, you will need some 60 could have used a URL starting with 'ftp:', 'file:', etc.). However, it's the 64 HTTP is based on requests and responses - the client makes requests and servers [all …]
|
| /external/python/cpython3/Doc/howto/ |
| D | urllib2.rst | 1 .. _urllib-howto: 18 …* `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/py… 20 A tutorial on *Basic Authentication*, with examples in Python. 26 handling common situations - like basic authentication, cookies, proxies and so 30 before the ``":"`` in URL - for example ``"ftp"`` is the URL scheme of 31 ``"ftp://python.org/"``) using their associated network protocols (e.g. FTP, HTTP). 35 encounter errors or non-trivial cases when opening HTTP URLs, you will need some 68 could have used a URL starting with 'ftp:', 'file:', etc.). However, it's the 72 HTTP is based on requests and responses - the client makes requests and servers 77 a file-like object, which means you can for example call ``.read()`` on the [all …]
|
| /external/curl/src/ |
| D | tool_listhelp.c | 21 * SPDX-License-Identifier: curl 36 {" --abstract-unix-socket <path>", 39 {" --alt-svc <filename>", 40 "Enable alt-svc with this cache file", 42 {" --anyauth", 45 {"-a, --append", 48 {" --aws-sigv4 <provider1[:prvdr2[:reg[:srv]]]>", 51 {" --basic", 52 "HTTP Basic Authentication", 54 {" --ca-native", [all …]
|
| /external/swiftshader/third_party/subzero/docs/ |
| D | REGALLOC.rst | 5 ------------ 8 <https://chromium.googlesource.com/native_client/pnacl-subzero/+/master/docs/DESIGN.rst>`_ 9 is a fast code generator that translates architecture-independent `PNaCl bitcode 10 <https://developer.chrome.com/native-client/reference/pnacl-bitcode-abi>`_ into 11 architecture-specific machine code. PNaCl bitcode is LLVM bitcode that has been 12 simplified (e.g. weird-width primitive types like 57-bit integers are not 13 allowed) and has had architecture-independent optimizations already applied. 14 Subzero aims to generate high-quality code as fast as practical, and as such 20 register allocation's reputation for being complex and expensive. Linear-scan 22 allocation at relatively low cost. Subzero uses linear-scan for its core [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_urllib2.py | 71 However, .headers pre-dates those methods, and so real code will be using 75 code that previously saw all (urllib2 user)-provided headers in .headers 86 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 88 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 91 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 98 Note the case normalization of header names here, to .capitalize()-case. 99 This should be preserved for backwards-compatibility. (In the HTTP case, 100 normalization to .title()-case is done by urllib2 before sending headers to 104 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 105 >>> r.has_header("Spam-eggs") [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/quic/tools/ |
| D | quic_url_test.cc | 2 // Use of this source code is governed by a BSD-style license that can be 17 TEST_F(QuicUrlTest, Basic) { in TEST_F() argument 44 // scheme is FTP. in TEST_F() 45 url_str = "ftp://www.example.com"; in TEST_F() 48 EXPECT_EQ("ftp://www.example.com/", url.ToString()); in TEST_F() 49 EXPECT_EQ("ftp", url.scheme()); in TEST_F() 68 // Default scheme to FTP. in TEST_F() 70 url = QuicUrl(url_str, "ftp"); in TEST_F() 71 EXPECT_EQ("ftp://www.example.com/", url.ToString()); in TEST_F() 72 EXPECT_EQ("ftp", url.scheme()); in TEST_F() [all …]
|
| /external/jsoup/src/test/java/org/jsoup/safety/ |
| D | CleanerTest.java | 41 String cleanHtml = Jsoup.clean(h, Safelist.basic()); in basicBehaviourTest() 48 …String h = "<div><p><img src='http://example.com/' alt=Image></p><p><img src='ftp://ftp.example.co… in basicWithImagesTest() 61 String cleanHtml = Jsoup.clean(h, Safelist.basic().removeTags("a")); in testRemoveTags() 68 String cleanHtml = Jsoup.clean(h, Safelist.basic().removeAttributes("blockquote", "cite")); in testRemoveAttributes() 94 safelist.removeProtocols("a", "href", "ftp", "http", "https", "mailto"); in removeProtocols() 101 String cleanHtml = Jsoup.clean(h, Safelist.basic().removeEnforcedAttribute("a", "rel")); in testRemoveEnforcedAttributes() 109 … String cleanHtml = Jsoup.clean(h, Safelist.basic().removeProtocols("a", "href", "ftp", "mailto")); in testRemoveProtocols() 130 String h = "<p>Hello<!-- no --></p>"; in testDropComments() 198 String nok3 = "<!-- comment --><p>Not OK</p>"; // comments and the like will be cleaned in testIsValidBodyHtml() 203 assertTrue(Jsoup.isValid(ok, Safelist.basic())); in testIsValidBodyHtml() [all …]
|
| /external/curl/docs/examples/ |
| D | multi-app.c | 21 * SPDX-License-Identifier: curl 25 * A basic application source code using the multi interface doing two 33 /* somewhat unix-specific */ 41 * Download an HTTP file and upload an FTP file simultaneously. 46 #define FTP_HANDLE 1 /* Index for the FTP transfer */ 66 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com"); in main() 88 if(msg->msg == CURLMSG_DONE) { in main() 93 int found = (msg->easy_handle == handles[idx]); in main() 100 printf("HTTP transfer completed with status %d\n", msg->data.result); in main() 103 printf("FTP transfer completed with status %d\n", msg->data.result); in main()
|
| /external/python/cpython2/Doc/library/ |
| D | urllib.rst | 1 :mod:`urllib` --- Open arbitrary resources by URL 21 This module provides a high-level interface for fetching data across the World 23 built-in function :func:`open`, but accepts Universal Resource Locators (URLs) 24 instead of filenames. Some restrictions apply --- it can only open URLs for 29 The `Requests package <http://docs.python-requests.org/>`_ 30 is recommended for a higher-level HTTP client interface. 41 High-level interface 42 -------------------- 51 went well, a file-like object is returned. This supports the following 60 these methods have the same interface as for file objects --- see section [all …]
|
| /external/curl/docs/libcurl/ |
| D | libcurl-security.md | 1 --- 3 SPDX-License-Identifier: curl 4 Title: libcurl-security 7 See-also: 8 - libcurl-thread (3) 10 - All 11 --- 12 <!-- markdown-link-check-disable --> 15 libcurl-security - security considerations when using libcurl 22 powerful library, however, which allows application writers to make trade-offs [all …]
|
| D | libcurl-tutorial.md | 1 --- 3 SPDX-License-Identifier: curl 4 Title: libcurl-tutorial 7 See-also: 8 - libcurl-easy (3) 9 - libcurl-errors (3) 10 - libcurl-multi (3) 11 - libcurl-url (3) 13 - All 14 --- [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | urllib.request.rst | 1 :mod:`urllib.request` --- Extensible library for opening URLs 13 -------------- 16 opening URLs (mostly HTTP) in a complex world --- basic and digest 22 is recommended for a higher-level HTTP client interface. 24 .. include:: ../includes/wasm-notavail.rst 44 only works for HTTP, HTTPS and FTP connections. 66 attribute --- the reason phrase returned by server --- instead of 70 For FTP, file, and data URLs and requests explicitly handled by legacy 91 .. audit-event:: urllib.Request fullurl,data,headers,method urllib.request.urlopen 164 Convert the path component *path* from a percent-encoded URL to the local syntax for a [all …]
|