mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
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)
This commit is contained in:
parent
046fba4493
commit
806990e7db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user