Home
last modified time | relevance | path

Searched refs:encoder (Results 1 – 11 of 11) sorted by relevance

/curl/docs/libcurl/
H A Dcurl_mime_encoder.md20 curl_mime_encoder - set a mime part's encoder and content transfer encoding
35 *part* is the part's handle to assign an encoder.
37 set to NULL to disable an encoder previously attached to the part. The encoding
40 Setting a part's encoder multiple times is valid: only the value set by the
62 chunked transfer in HTTP. For the same reason, this encoder may not be used
63 with IMAP. This encoder targets text data that is mostly ASCII and should
68 curl_mime_headers(3) instead of setting a part encoder.
/curl/tests/data/
H A Dtest64924 SMTP multipart with 7bit encoder error
33 …-mail-from sender@example.com -F '=This is valid;encoder=7bit' -F "=@%LOGDIR/test%TESTNUMBER.txt;e…
H A Dtest64833 …should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@…
67 character =3D and that should be split by encoder.
H A Dtest66747 HTTP chunked mimepost using single-byte read callback with encoder
H A Dtest140433 --libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder
39 …OGDIR/test%TESTNUMBER.txt,%LOGDIR/test%TESTNUMBER.txt;type=magic/content;encoder=8bit,%LOGDIR/test…
/curl/src/
H A Dtool_formparse.c169 Curl_safefree(mime->encoder); in tool_mime_free()
299 ret = curl_mime_encoder(part, m->encoder); in tool2curlparts()
468 char *encoder = NULL; in get_param_part() local
601 if(encoder == tp) in get_param_part()
602 while(endpos > encoder && ISSPACE(endpos[-1])) in get_param_part()
641 *pencoder = encoder; in get_param_part()
642 else if(encoder) in get_param_part()
644 "Field encoder not allowed here: %s", encoder); in get_param_part()
729 char *encoder = NULL; in formparse() local
829 SET_TOOL_MIME_PTR(part, encoder); in formparse()
[all …]
H A Dtool_formparse.h50 char *encoder; /* Part's requested encoding. */ member
H A Dtool_setopt.c493 if(!ret && part->encoder) { in libcurl_generate_mime_part()
495 escaped = c_escape(part->encoder, ZERO_TERMINATED); in libcurl_generate_mime_part()
/curl/lib/
H A Dmime.h128 const struct mime_encoder *encoder; /* Content data encoder. */ member
H A Dmime.c868 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
965 if(part->encoder) in readback_part()
1264 dst->encoder = src->encoder; in Curl_mime_duppart()
1478 part->encoder = NULL; in curl_mime_encoder()
1485 part->encoder = mep; in curl_mime_encoder()
1664 if(part->encoder) in mime_size()
1665 size = part->encoder->sizefunc(part); in mime_size()
1869 if(part->encoder) in Curl_mime_prepare_headers()
1870 cte = part->encoder->name; in Curl_mime_prepare_headers()
/curl/docs/cmdline-opts/
H A Dform.md132 Data can be encoded for transfer using encoder=. Available encodings are
142 curl -F '=text message;encoder=quoted-printable' \
143 -F '=@localfile;encoder=base64' ... smtp://example.com

Completed in 93 milliseconds