OSSL_HTTP_REQ_CTX.pod: minor addition and remove redundant paragraph
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 18 Jan 2021 11:39:51 +0000 (12:39 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 23 Jan 2021 14:25:04 +0000 (15:25 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13898)

doc/man3/OSSL_HTTP_REQ_CTX.pod

index d5188895bc8b7cc63f11e0e1a5f2294eaad62edf..4e30088de7b7d4dbda16f051158ff17b96349683 100644 (file)
@@ -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