"Fossies" - the Fresh Open Source Software Archive

Member "neon-0.31.2/doc/html/refreqhdr.html" (20 Jun 2020, 3799 Bytes) of package /linux/www/neon-0.31.2.tar.gz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.


ne_add_request_header, ne_print_request_header — add headers to a request


#include <ne_request.h>
void ne_add_request_header(ne_request *request,
 const char *name,
 const char *value);
void ne_print_request_header(ne_request *request,
 const char *name,
 const char *format,


The functions ne_add_request_header and ne_print_request_header can be used to add headers to a request, before it is sent.

ne_add_request_header simply adds a header of given name, with given value.

ne_print_request_header adds a header of given name, taking the value from the printf-like format string parameter and subsequent variable-length argument list.

See also