Lines Matching full:http
19 - HTTP client low-level functions
23 #include <openssl/http.h>
55 B<OSSL_HTTP_REQ_CTX> is a context structure for an HTTP request and response,
58 This file documents low-level HTTP functions rarely used directly. High-level
59 HTTP client functions like L<OSSL_HTTP_get(3)> and L<OSSL_HTTP_transfer(3)>
62 OSSL_HTTP_REQ_CTX_new() allocates a new HTTP request context structure,
70 which collects the HTTP request header lines.
72 OSSL_HTTP_REQ_CTX_free() frees up the HTTP request context I<rctx>.
76 OSSL_HTTP_REQ_CTX_set_request_line() adds the 1st HTTP request line to I<rctx>.
77 The HTTP method is determined by I<method_POST>,
80 an HTTP proxy shall forward the request to, otherwise they must be left NULL.
81 I<path> provides the HTTP request path; if left NULL, C</> is used.
82 For backward compatibility, I<path> may begin with C<http://> and thus convey
83 an absoluteURI. In this case it indicates HTTP proxy use and provides also the
94 of the HTTP client on the response.
95 Due to the structure of an HTTP request, if the I<keep_alive> argument is
99 is included in the HTTP header of the response and return an error if not.
108 the subsequent HTTP transfer (sending the request and receiving a response)
115 kept open after receiving a response. This is the default behavior for HTTP 1.0.
120 OSSL_HTTP_REQ_CTX_set1_req() finalizes the HTTP request context.
128 The HTTP header C<Content-Length> is filled out with the length of the request.
131 the HTTP header C<Content-Type> is also added with the given string value.
135 and to gather the response via HTTP, using the I<wbio> and I<rbio>
158 Before the HTTP request is sent, this could be used to adapt its header lines.
160 After receiving a response via HTTP, the BIO represents the current state of
175 OSSL_HTTP_is_alive() can be used to query if the HTTP connection
195 First, the HTTP request context must be allocated:
198 Then, the HTTP request must be prepared with request data:
218 When the request context is fully prepared, the HTTP exchange may be performed