mirror of
https://github.com/curl/curl.git
synced 2026-07-30 08:48:02 +03:00
language: s/behaviour/behavior/g
We currently use both spellings the british "behaviour" and the american "behavior". However "behavior" is more used in the project so I think it's worth dropping the british name. Closes #6395
This commit is contained in:
parent
aa71750687
commit
725ec470e2
28 changed files with 51 additions and 50 deletions
|
|
@ -145,7 +145,7 @@ Windows vs Unix
|
|||
|
||||
That's taken care of by the `curl_global_init()` call, but if other libs
|
||||
also do it etc there might be reasons for applications to alter that
|
||||
behaviour.
|
||||
behavior.
|
||||
|
||||
We require WinSock version 2.2 and load this version during global init.
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Added: 7.17.1
|
|||
Category: http post
|
||||
---
|
||||
Tells curl to respect RFC 7231/6.4.2 and not convert POST requests into GET
|
||||
requests when following a 301 redirection. The non-RFC behaviour is ubiquitous
|
||||
requests when following a 301 redirection. The non-RFC behavior is ubiquitous
|
||||
in web browsers, so curl does the conversion by default to maintain
|
||||
consistency. However, a server may require a POST to remain a POST after such
|
||||
a redirection. This option is meaningful only when using --location.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Added: 7.19.1
|
|||
Category: http post
|
||||
---
|
||||
Tells curl to respect RFC 7231/6.4.3 and not convert POST requests into GET
|
||||
requests when following a 302 redirection. The non-RFC behaviour is ubiquitous
|
||||
requests when following a 302 redirection. The non-RFC behavior is ubiquitous
|
||||
in web browsers, so curl does the conversion by default to maintain
|
||||
consistency. However, a server may require a POST to remain a POST after such
|
||||
a redirection. This option is meaningful only when using --location.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -37,7 +37,7 @@ does it automatically. This may be lethal in multi-threaded cases, since
|
|||
\fIcurl_global_init(3)\fP is not thread-safe, and it may result in resource
|
||||
problems because there is no corresponding cleanup.
|
||||
|
||||
You are strongly advised to not allow this automatic behaviour, by calling
|
||||
You are strongly advised to not allow this automatic behavior, by calling
|
||||
\fIcurl_global_init(3)\fP yourself properly. See the description in
|
||||
\fBlibcurl\fP(3) of global environment requirements for details of how to use
|
||||
this function.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -29,7 +29,7 @@ curl_getenv - return value for environment name
|
|||
.ad
|
||||
.SH DESCRIPTION
|
||||
curl_getenv() is a portable wrapper for the getenv() function, meant to
|
||||
emulate its behaviour and provide an identical interface for all operating
|
||||
emulate its behavior and provide an identical interface for all operating
|
||||
systems libcurl builds on (including win32).
|
||||
|
||||
You must \fIcurl_free(3)\fP the returned string when you're done with it.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -29,7 +29,7 @@ CURLMcode curl_multi_setopt(CURLM * multi_handle, CURLMoption option, param);
|
|||
.SH DESCRIPTION
|
||||
\fIcurl_multi_setopt(3)\fP is used to tell a libcurl multi handle how to
|
||||
behave. By using the appropriate options to \fIcurl_multi_setopt(3)\fP, you
|
||||
can change libcurl's behaviour when using that multi handle. All options are
|
||||
can change libcurl's behavior when using that multi handle. All options are
|
||||
set with the \fIoption\fP followed by the parameter \fIparam\fP. That
|
||||
parameter can be a \fBlong\fP, a \fBfunction pointer\fP, an \fBobject
|
||||
pointer\fP or a \fBcurl_off_t\fP type, depending on what the specific option
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ names of files in a directory, rather than performing a full directory listing
|
|||
that would normally include file sizes, dates etc.
|
||||
|
||||
For POP3 a parameter of 1 tells the library to list the email message or
|
||||
messages on the POP3 server. This can be used to change the default behaviour
|
||||
messages on the POP3 server. This can be used to change the default behavior
|
||||
of libcurl, when combined with a URL that contains a message ID, to perform a
|
||||
"scan listing" which can then be used to determine the size of an email.
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ Pass a long. The set \fIamount\fP will be the maximum number of simultaneously
|
|||
open persistent connections that libcurl may cache in the pool associated with
|
||||
this handle. The default is 5, and there isn't much point in changing this
|
||||
value unless you are perfectly aware of how this works and changes libcurl's
|
||||
behaviour. This concerns connections using any of the protocols that support
|
||||
behavior. This concerns connections using any of the protocols that support
|
||||
persistent connections.
|
||||
|
||||
When reaching the maximum limit, curl closes the oldest one in the cache to
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ way. For example, the web server may assume that this data is url-encoded.
|
|||
|
||||
The data pointed to is NOT copied by the library: as a consequence, it must be
|
||||
preserved by the calling application until the associated transfer finishes.
|
||||
This behaviour can be changed (so libcurl does copy the data) by setting the
|
||||
This behavior can be changed (so libcurl does copy the data) by setting the
|
||||
\fICURLOPT_COPYPOSTFIELDS(3)\fP option.
|
||||
|
||||
This POST is a normal application/x-www-form-urlencoded kind (and libcurl will
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ libcurl maintain the request method after a 302 redirect whilst setting bit 2
|
|||
after a 303 redirect. The value \fBCURL_REDIR_POST_ALL\fP is a convenience
|
||||
define that sets all three bits.
|
||||
|
||||
The non-RFC behaviour is ubiquitous in web browsers, so the library does the
|
||||
The non-RFC behavior is ubiquitous in web browsers, so the library does the
|
||||
conversion by default to maintain consistency. However, a server may require a
|
||||
POST to remain a POST after such a redirection. This option is meaningful only
|
||||
when setting \fICURLOPT_FOLLOWLOCATION(3)\fP.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue