misc: typo and grammar fixes

- Replace `Github` with `GitHub`.
- Replace `windows` with `Windows`
- Replace `advice` with `advise` where a verb is used.
- A few fixes on removing repeated words.
- Replace `a HTTP` with `an HTTP`

Closes #9802
This commit is contained in:
Ayesh Karunaratne 2022-10-26 12:29:35 +05:30 committed by Daniel Stenberg
parent b7260c4fda
commit 4484270afc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
57 changed files with 106 additions and 106 deletions

View file

@ -44,7 +44,7 @@
#endif
/*
* This example shows a HTTP PUT operation with authentication using "any"
* This example shows an HTTP PUT operation with authentication using "any"
* type. It PUTs a file given as a command line argument to the URL also given
* on the command line.
*

View file

@ -22,7 +22,7 @@
*
***************************************************************************/
/* <DESC>
* CA cert in memory with OpenSSL to get a HTTPS page.
* CA cert in memory with OpenSSL to get an HTTPS page.
* </DESC>
*/

View file

@ -40,7 +40,7 @@ int main(void)
curl = curl_easy_init();
if(curl) {
/* First set the URL that is about to receive our POST. This URL can
just as well be a https:// URL if that is what should receive the
just as well be an https:// URL if that is what should receive the
data. */
curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi");
/* Now specify the POST data */

View file

@ -43,7 +43,7 @@ static const char olivertwist[]=
509 byte limit. */
/*
* This example shows a HTTP PUT operation that sends a fixed buffer with
* This example shows an HTTP PUT operation that sends a fixed buffer with
* CURLOPT_POSTFIELDS to the URL given as an argument.
*/

View file

@ -31,7 +31,7 @@
#include <curl/curl.h>
/*
* This example shows a HTTP PUT operation. PUTs a file given as a command
* This example shows an HTTP PUT operation. PUTs a file given as a command
* line argument to the URL also given on the command line.
*
* This example also uses its own read callback.

View file

@ -38,7 +38,7 @@
#include <curl/curl.h>
/*
* Download a HTTP file and upload an FTP file simultaneously.
* Download an HTTP file and upload an FTP file simultaneously.
*/
#define HANDLECOUNT 2 /* Number of simultaneous transfers */

View file

@ -126,7 +126,7 @@ int my_trace(CURL *handle, curl_infotype type,
}
/*
* Simply download a HTTP file.
* Simply download an HTTP file.
*/
int main(void)
{

View file

@ -38,7 +38,7 @@
#include <curl/curl.h>
/*
* Download a HTTP file and upload an FTP file simultaneously.
* Download an HTTP file and upload an FTP file simultaneously.
*/
#define HANDLECOUNT 2 /* Number of simultaneous transfers */

View file

@ -37,7 +37,7 @@
#include <curl/curl.h>
/*
* Simply download a HTTP file.
* Simply download an HTTP file.
*/
int main(void)
{

View file

@ -101,7 +101,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
/*
If you use POST to a HTTP 1.1 server, you can send data without knowing
If you use POST to an HTTP 1.1 server, you can send data without knowing
the size before starting the POST if you use chunked encoding. You
enable this by adding a header like "Transfer-Encoding: chunked" with
CURLOPT_HTTPHEADER. With HTTP 1.0 or without chunked transfer, you must

View file

@ -22,7 +22,7 @@
*
***************************************************************************/
/* <DESC>
* Make a HTTP POST with data from memory and receive response in memory.
* Make an HTTP POST with data from memory and receive response in memory.
* </DESC>
*/
#include <stdio.h>