Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
753a5da9
Commit
753a5da9
authored
7 years ago
by
Patrick Monnerat
Browse files
Options
Downloads
Patches
Plain Diff
libcurl-tutorial: fix two typos.
parent
3ac14ab3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/libcurl/libcurl-tutorial.3
+3
-3
3 additions, 3 deletions
docs/libcurl/libcurl-tutorial.3
with
3 additions
and
3 deletions
docs/libcurl/libcurl-tutorial.3
+
3
−
3
View file @
753a5da9
...
...
@@ -625,7 +625,7 @@ becomes:
Setting the last \fIcurl_mime_headers\fP argument to TRUE would have caused
the headers to be automatically released upon destroyed the multi-part, thus
saving a clean-up call to \f
P
curl_slist_free_all(3)\fP.
saving a clean-up call to \f
I
curl_slist_free_all(3)\fP.
.nf
curl_formadd(
&
post,
&
last,
...
...
@@ -1213,7 +1213,7 @@ do not use this function (this would over-encode it), but explicitly set the
corresponding part header.
Upon sending such a message, libcurl prepends it with the header list
set with \fICURLOPT_HTTPHEADER
S
(3)\fP, as 0th-level mime part headers.
set with \fICURLOPT_HTTPHEADER(3)\fP, as 0th-level mime part headers.
Here is an example building an e-mail message with an inline plain/html text
alternative and a file attachment encoded in base64:
...
...
@@ -1254,7 +1254,7 @@ alternative and a file attachment encoded in base64:
headers = curl_slist_append(headers, "To: you@example.com");
/* Set these into the easy handle. */
curl_easy_setopt(easyhandle, CURLOPT_HTTPHEADER
S
, headers);
curl_easy_setopt(easyhandle, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(easyhandle, CURLOPT_MIMEPOST, mime);
.fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment