Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 172) sorted by relevance

1234567

/curl/.github/scripts/
H A Dspacecheck.pl70 my ($content) = @_;
72 my $cr = () = $content =~ /\r/g;
73 my $lf = () = $content =~ /\n/g;
98 my $content = do { local $/; <$fh> };
104 $content =~ /\t/) {
108 my $eol = eol_detect($content);
127 $content =~ /[ \t]\n/) {
131 if ($content ne "" &&
133 $content !~ /\n\z/) {
137 if ($content =~ /\n\n\z/ ||
[all …]
/curl/src/
H A Dtool_urlglob.c147 pat->content.Set.elements[pat->content.Set.size] = in glob_set()
149 if(!pat->content.Set.elements[pat->content.Set.size]) in glob_set()
241 pat->content.CharRange.ptr_c = pat->content.CharRange.min_c = min_c; in glob_range()
318 pat->content.NumRange.ptr_n = pat->content.NumRange.min_n = min_n; in glob_range()
553 (++pat->content.Set.ptr_s == pat->content.Set.size)) { in glob_next_url()
563 pat->content.CharRange.ptr_c = pat->content.CharRange.min_c; in glob_next_url()
568 pat->content.NumRange.ptr_n += pat->content.NumRange.step; in glob_next_url()
569 if(pat->content.NumRange.ptr_n > pat->content.NumRange.max_n) { in glob_next_url()
570 pat->content.NumRange.ptr_n = pat->content.NumRange.min_n; in glob_next_url()
590 pat->content.Set.elements[pat->content.Set.ptr_s]); in glob_next_url()
[all …]
H A Dvar.c63 free((char *)t->content); in varcleanup()
290 value = (char *)v->content; in varexpand()
350 const char *content, in addvariable() argument
364 p->content = contalloc ? content : Memdup(content, clen); in addvariable()
365 if(p->content) { in addvariable()
382 char *content = NULL; in setvariable() local
420 content = ge; in setvariable()
424 if(content) in setvariable()
441 err = file2memory(&content, &clen, file); in setvariable()
452 content = (char *)line; in setvariable()
[all …]
H A Dmkhelp.pl66 my $content = join("", @out);
69 \$content, \$gzippedContent, Level => 9, TextFlag => 1, Time=>0) or die "gzip failed:";
70 $gzip = length($content);
/curl/docs/cmdline-opts/
H A Ddata-urlencode.md27 a separator and a content specification. The \<data\> part can be passed to
30 ## content section
31 URL-encode the content and pass that on. Just be careful so that the content
35 ## =content
36 URL-encode the content and pass that on. The preceding `=` symbol is not
39 ## name=content
40 URL-encode the content part and pass that on. Note that the name part is
50 resulting in *name=urlencoded-file-content*. Note that the name is expected to
H A Dvariable.md18 Set a variable with `name=content` or `name@file` (where `file` can be stdin
21 specified content is then associated with this identifier.
35 the environment variable is not set, use --variable %name=content or
36 --variable %name@content. Note that on some systems - but not all -
43 content holding null bytes that are not encoded when expanded, causes an
52 outputs the content using JSON string quoting rules.
55 shows the content URL (percent) encoded.
H A Dignore-content-length.md4 Long: ignore-content-length
13 - --ignore-content-length $URL
16 # `--ignore-content-length`
/curl/tests/
H A Dtestutil.pm246 my $content = do { local $/; open my $fh, '<', $file_path or die $!; <$fh> };
247 $content =~ s/(^|-----END .*?-----[\r\n]?)(.*?)(-----BEGIN .*?-----|$)/$1$3/gs;
248 $content =~ s/\r\n/\n/g;
249 chomp($content);
250 return $content;
/curl/tests/data/
H A Dtest240356 content-length: 6
57 content-type: text/html
64 "content-length":["6"],
65 "content-type":["text/html"],
H A Dtest250355 content-length: 6
56 content-type: text/html
62 "content-length":["6"],
63 "content-type":["text/html"],
H A Dtest11377 --ignore-content-length
31 FTP RETR --ignore-content-length
34 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ignore-content-length
H A Dtest42115 content-type: application/json
16 content-length: 6
30 x-content-type-options: nosniff
66 "content-type":["application/json"],
67 "content-length":["6"],
79 "x-content-type-options":["nosniff"],
H A Dtest170084 content-length: 6
85 content-type: text/html
92 content-length: 6
93 content-type: text/html
H A Dtest115114 # 3000 bytes name + 1096 bytes content is fine
15 # 3000 bytes name + 1097 bytes content is NOT OK
16 # 4096 bytes name + 1 byte content is NOT OK
17 # 4094 bytes name + 1 byte content is fine
H A Dtest101534 content to _?!#$'|<>
49 my+name+is+moo%5B%5D&y e s=s_i_r&v_alue=content+to+_%3F%21%23%24%27%7C%3C%3E%0A&content+to+_%3F%21%…
H A Dtest35865 content-length: 6
66 content-type: text/html
74 content-length: 6
75 content-type: text/html
H A Dtest35965 content-length: 6
66 content-type: text/html
74 content-length: 6
75 content-type: text/html
H A Dtest197160 …ential=xxx/19700101/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha25…
62 x-amz-content-sha256: UNSIGNED-PAYLOAD
H A Dtest197539 HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256
60 …ential=xxx/19700101/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha25…
H A Dtest122135 content to _?!#$'|<>
43 …T /%TESTNUMBER?my+name+is+moo%5b%5d&yes=s+i+r&v_alue=content+to+_%3f%21%23%24%27%7c%3c%3e%0a&conte…
H A Dtest99627 content
38 content
H A Dtest99427 content
30 content
H A Dtest197067 …ential=xxx/19700101/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha25…
69 x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
/curl/docs/libcurl/opts/
H A DCURLOPT_HTTP_CONTENT_DECODING.md18 CURLOPT_HTTP_CONTENT_DECODING - HTTP content decoding control
31 Pass a long to tell libcurl how to act on content decoding. If set to zero,
32 content decoding is disabled. If set to 1 it is enabled. Libcurl has no
33 default content decoding but requires you to use
/curl/lib/vauth/
H A Ddigest.c133 *content++ = *str; in Curl_auth_digest_get_pair()
138 *content = 0; in Curl_auth_digest_get_pair()
521 char content[DIGEST_MAX_CONTENT_LENGTH]; in Curl_auth_decode_digest_http_message() local
531 digest->nonce = strdup(content); in Curl_auth_decode_digest_http_message()
536 if(strcasecompare(content, "true")) { in Curl_auth_decode_digest_http_message()
543 digest->realm = strdup(content); in Curl_auth_decode_digest_http_message()
549 digest->opaque = strdup(content); in Curl_auth_decode_digest_http_message()
557 tmp = strdup(content); in Curl_auth_decode_digest_http_message()
593 digest->algorithm = strdup(content); in Curl_auth_decode_digest_http_message()
597 if(strcasecompare(content, "MD5-sess")) in Curl_auth_decode_digest_http_message()
[all …]

Completed in 30 milliseconds

1234567