summaryrefslogtreecommitdiff
path: root/doc/man3/OSSL_HTTP_REQ_CTX.pod
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-01-18 12:39:51 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-01-23 15:25:04 +0100
commit806990e7db4c0ea7ad544477bb7b697cc36347ea (patch)
treea9d2c7d9582b3c8c2665e35b47e78063ae40c40a /doc/man3/OSSL_HTTP_REQ_CTX.pod
parent046fba4493d6cb17e0b8b22f43d5ee63c2ff8d50 (diff)
downloadopenssl-new-806990e7db4c0ea7ad544477bb7b697cc36347ea.tar.gz
OSSL_HTTP_REQ_CTX.pod: minor addition and remove redundant paragraph
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13898)
Diffstat (limited to 'doc/man3/OSSL_HTTP_REQ_CTX.pod')
-rw-r--r--doc/man3/OSSL_HTTP_REQ_CTX.pod7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/man3/OSSL_HTTP_REQ_CTX.pod b/doc/man3/OSSL_HTTP_REQ_CTX.pod
index d5188895bc..4e30088de7 100644
--- a/doc/man3/OSSL_HTTP_REQ_CTX.pod
+++ b/doc/man3/OSSL_HTTP_REQ_CTX.pod
@@ -135,7 +135,8 @@ Calling OSSL_HTTP_REQ_CTX_set_request_line(). This must be done exactly once.
=item 2.
-Adding extra headers with OSSL_HTTP_REQ_CTX_add1_header(). This is optional.
+Adding extra headers with OSSL_HTTP_REQ_CTX_add1_header().
+This is optional and may be done multiple times with different names.
=item 3.
@@ -148,10 +149,6 @@ exactly once in that case.
When the request context is fully prepared, the HTTP exchange may be performed
with OSSL_HTTP_REQ_CTX_nbio() or OSSL_HTTP_REQ_CTX_sendreq_d2i().
-Furthermore, all calls of OSSL_HTTP_REQ_CTX_set_request_line() and
-OSSL_HTTP_REQ_CTX_add1_header() must be done before any call to
-int OSSL_HTTP_REQ_CTX_nbio() or OSSL_HTTP_REQ_CTX_sendreq_d2i().
-
=head1 RETURN VALUES
OSSL_HTTP_REQ_CTX_new() returns a pointer to a B<OSSL_HTTP_REQ_CTX>, or NULL