diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
commit | 2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch) | |
tree | 65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl | |
parent | Releasing progress-linux version 4.22.0-1~progress7.99u1. (diff) | |
download | manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl')
-rw-r--r-- | upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl b/upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl index b0caef9f..07c70b50 100644 --- a/upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl +++ b/upstream/debian-unstable/man3/OSSL_HTTP_REQ_CTX.3ssl @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "OSSL_HTTP_REQ_CTX 3SSL" -.TH OSSL_HTTP_REQ_CTX 3SSL 2024-02-03 3.1.5 OpenSSL +.TH OSSL_HTTP_REQ_CTX 3SSL 2024-04-04 3.2.2-dev OpenSSL .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -154,9 +154,17 @@ For example, to add a \f(CW\*(C`Host\*(C'\fR header for \f(CW\*(C`example.com\*( of the HTTP client on the response. Due to the structure of an HTTP request, if the \fIkeep_alive\fR argument is nonzero the function must be used before calling \fBOSSL_HTTP_REQ_CTX_set1_req()\fR. -If the \fIcontent_type\fR parameter -is not NULL then the client will check that the given content type string +.PP +If the \fIcontent_type\fR argument is not NULL, +the client will check that the specified content-type string is included in the HTTP header of the response and return an error if not. +In the content-type header line the specified string should be present either +as a whole, or in case the specified string does not include a \f(CW\*(C`;\*(C'\fR character, +it is sufficient that the specified string appears as a prefix +in the header line, followed by a \f(CW\*(C`;\*(C'\fR character and any further text. +For instance, if the \fIcontent_type\fR argument specifies \f(CW\*(C`text/html\*(C'\fR, +this is matched by \f(CW\*(C`text/html\*(C'\fR, \f(CW\*(C`text/html; charset=UTF\-8\*(C'\fR, etc. +.PP If the \fIasn1\fR parameter is nonzero a structure in ASN.1 encoding will be expected as the response content and input streaming is disabled. This means that an ASN.1 sequence header is required, its length field is checked, and |