/curl/tests/http/testenv/ |
H A D | nghttpx.py | 49 self._run_dir = os.path.join(env.gen_dir, name) 50 self._pid_file = os.path.join(self._run_dir, 'nghttpx.pid') 52 self._error_log = os.path.join(self._run_dir, 'nghttpx.log') 54 self._tmp_dir = os.path.join(self._run_dir, 'tmp') 63 return os.path.exists(self._cmd) 158 def _rmf(self, path): argument 159 if os.path.exists(path): 160 return os.remove(path) 162 def _mkpath(self, path): argument 163 if not os.path.exists(path): [all …]
|
H A D | env.py | 47 if os.path.isfile(conf_path): 54 TESTS_HTTPD_PATH = os.path.dirname(os.path.dirname(__file__)) 57 TOP_PATH = os.path.dirname(os.path.dirname(TESTS_HTTPD_PATH)) 58 CURL = os.path.join(TOP_PATH, 'src/curl') 66 self.project_dir = os.path.dirname(os.path.dirname(self.tests_dir)) 210 return os.path.isfile(self.httpd) and \ 213 os.path.isfile(self.apxs) 218 if not os.path.isfile(self.httpd): 220 if not os.path.isfile(self.apachectl): 224 if not os.path.isfile(self.apxs): [all …]
|
/curl/tests/data/ |
H A D | test1228 | 8 cookie path 15 Set-Cookie: path1=root; domain=.example.fake; path=/; 16 Set-Cookie: path2=depth1; domain=.example.fake; path=/hoge; 19 This server says cookie path test 29 HTTP cookie path match
|
H A D | test528 | 40 http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER 47 GET /path/%TESTNUMBER HTTP/1.1 51 GET /path/%TESTNUMBER HTTP/1.1 55 GET /path/%TESTNUMBER HTTP/1.1 59 GET /path/%TESTNUMBER HTTP/1.1
|
H A D | test734 | 34 IPFS with path, query args and gateway with path 37 --ipfs-gateway http://%HOSTIP:%HTTPPORT/some/path "ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland… 45 GET /some/path/ipfs/bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u/a/b?foo=bar&aaa=bbb…
|
H A D | test735 | 34 IPNS with path, query args and gateway with path 37 --ipfs-gateway http://%HOSTIP:%HTTPPORT/some/path "ipns://fancy.tld/a/b?foo=bar&aaa=bbb" 45 GET /some/path/ipns/fancy.tld/a/b?foo=bar&aaa=bbb HTTP/1.1
|
H A D | test540 | 76 http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT silly:person custom.set.ho… 83 GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1 88 GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1 90 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTN… 94 GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1 99 GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1 101 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTN…
|
H A D | test1408 | 52 …GDIR/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/… 60 GET /path/%TESTNUMBER0001 HTTP/1.1 65 GET /path/%TESTNUMBER0002 HTTP/1.1
|
H A D | test1151 | 24 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 25 …BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB; domain=127.0.0.1; path=/; 26 …BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB; domain=127.0.0.1; path=/; 27 …DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD=E; domain=127.0.0.1; path=/; 28 …FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF=E; domain=127.0.0.1; path=/;
|
H A D | test1136 | 22 Set-Cookie: test1=forbidden1; domain=example.ck; path=/; 23 Set-Cookie: test2=allowed2; domain=www.example.ck; path=/; 24 Set-Cookie: test3=forbidden3; domain=ck; path=/; 25 Set-Cookie: test4=allowed4; domain=www.ck; path=/; 26 Set-Cookie: test5=forbidden5; domain=z-1.compute-1.amazonaws.com; path=/;
|
H A D | test1561 | 19 Set-Cookie: super=secret; domain=example.com; path=/%TESTNUMBER; secure; 20 Set-Cookie: supersuper=secret; domain=example.com; path=/%TESTNUMBER/login/; secure; 38 Set-Cookie: super=plain; domain=example.com; path=/%TESTNUMBER; httponly; 39 Set-Cookie: super=plain; domain=example.com; path=/%TESTNUMBER/; httponly; 40 Set-Cookie: super=plain; domain=example.com; path=/15; httponly; 41 Set-Cookie: public=yes; domain=example.com; path=/foo; 42 Set-Cookie: supersuper=plain; domain=example.com; path=/%TESTNUMBER/login/en; 43 Set-Cookie: supersuper=plain; domain=example.com; path=/%TESTNUMBER/login; 44 Set-Cookie: secureoverhttp=yes; domain=example.com; path=/%TESTNUMBER; secure;
|
H A D | test8 | 38 Set-Cookie: foobar=name; domain=%HOSTIP; path=/; 39 Set-Cookie: mismatch=this; domain=%HOSTIP; path="/silly/"; 40 Set-Cookie: partmatch=present; domain=.0.0.1; path=/w; 41 Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey; 42 Set-Cookie: cookie=yes; path=/we; 43 Set-Cookie: cookie=perhaps; path=/we/want; 44 Set-Cookie: name with space=is weird but; path=/we/want; 45 Set-Cookie: trailingspace = removed; path=/we/want; 46 Set-Cookie: nocookie=yes; path=/WE;
|
H A D | test1150 | 33 … http://test.remote.example.com.%TESTNUMBER:150/path http://test.remote.example.com.%TESTNUMBER:12… 43 GET http://test.remote.example.com.%TESTNUMBER:150/path HTTP/1.1 49 GET http://test.remote.example.com.%TESTNUMBER:1234/path/ HTTP/1.1
|
H A D | test1010 | 39 ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUM… 52 LIST /list/this/path/%TESTNUMBER 54 LIST /list/this/path/%TESTNUMBER
|
/curl/tests/ |
H A D | smbserver.py | 146 test_data_dir = os.path.join(options.srcdir, "data") 199 path = self.get_share_path(conn_data, 202 log.info("[SMB] Requested share path: %s", path) 214 if path not in [SERVER_MAGIC, TESTS_MAGIC]: 230 if path == SERVER_MAGIC: 233 assert (path == TESTS_MAGIC) 249 if os.path.isdir(path): 259 os.path.dirname(full_path), os.path.basename(full_path), 304 log.debug("RootFid present %s!" % path) 307 path = conn_shares[tid]["path"] [all …]
|
H A D | secureserver.pl | 79 my $path = getcwd(); 80 my $srcdir = $path; 81 my $logdir = $path .'/log'; 158 $pidfile = "$path/". $ARGV[1]; 164 $logfile = "$path/". $ARGV[1]; 170 $logdir = "$path/". $ARGV[1]; 189 $piddir = $path; 198 $capath = abs_path($path);
|
H A D | conftest.py | 27 sys.path.append(os.path.join(os.path.dirname(__file__), 'http'))
|
H A D | sshhelp.pm | 250 my @path = @_; 251 foreach (@path) { 267 my @path = @_; 269 foreach (@path) { 286 push(@spath, File::Spec->path()); 298 push(@hpath, File::Spec->path());
|
H A D | rtspserver.pl | 54 my $path = '.'; 55 my $logdir = $path .'/log'; 120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum);
|
H A D | tftpserver.pl | 55 my $path = '.'; 56 my $logdir = $path .'/log'; 120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum);
|
/curl/lib/ |
H A D | http_digest.c | 77 unsigned char *path = NULL; in Curl_output_digest() local 152 path = (unsigned char *) aprintf("%.*s", (int)urilen, uripath); in Curl_output_digest() 156 path = (unsigned char *) strdup((char *) uripath); in Curl_output_digest() 158 if(!path) in Curl_output_digest() 162 path, digest, &response, &len); in Curl_output_digest() 163 free(path); in Curl_output_digest()
|
H A D | urlapi.c | 79 char *path; member 98 free(u->path); in free_urlhandle() 1049 if(path[0] == '/' && path[1] == '/') { in parseurl() 1087 if(!path || *path != '/') { in parseurl() 1112 path = ptr; in parseurl() 1133 path++; in parseurl() 1308 path = u->path = Curl_dyn_ptr(&enc); in parseurl() 1313 path = NULL; in parseurl() 1317 u->path = Curl_memdup0(path, pathlen); in parseurl() 1322 path = u->path; in parseurl() [all …]
|
H A D | curl_path.h | 46 char **path); 48 CURLcode Curl_get_pathname(const char **cpp, char **path, const char *homedir);
|
/curl/tests/http/ |
H A D | test_09_push.py | 41 push_dir = os.path.join(httpd.docs_dir, 'push') 42 if not os.path.exists(push_dir): 83 assert os.path.exists(client.download_file(0)) 84 assert os.path.exists(os.path.join(client.run_dir, 'push0')), r.dump_logs()
|
/curl/docs/cmdline-opts/ |
H A D | abstract-unix-socket.md | 5 Arg: <path> 20 Note: netstat shows the path of an abstract socket prefixed with `@`, however 21 the \<path\> argument should not have this leading character.
|