mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:23:32 +03:00
parent
d4618a3fc4
commit
959e613e7c
6 changed files with 7 additions and 7 deletions
|
|
@ -129,7 +129,7 @@ function to a variable expansion, add them colon separated to the right side
|
|||
of the variable. Variable content holding null bytes that are not encoded when
|
||||
expanded, will cause error.
|
||||
|
||||
Exmaple: get the contents of a file called $HOME/.secret into a variable
|
||||
Example: get the contents of a file called $HOME/.secret into a variable
|
||||
called "fix". Make sure that the content is trimmed and percent-encoded sent
|
||||
as POST data:
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ int main(void)
|
|||
returns CURLE_PEER_FAILED_VERIFICATION */
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
||||
/* Letting the wrong host name in the certficate be okay, the transfer
|
||||
/* Letting the wrong host name in the certificate be okay, the transfer
|
||||
goes through but will (most likely) cause a 404 or similar because it
|
||||
sends an unknown name in the Host: header field */
|
||||
res = curl_easy_perform(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue