ne_add_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, ...);
NE_ADD_REQUEST_HEADE(3) neon API reference NE_ADD_REQUEST_HEADE(3) NAME ne_add_request_header, ne_print_request_header - add headers to a request SYNOPSIS #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, ...); DESCRIPTION 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. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | library/neon | +---------------+------------------+ |Stability | Volatile | +---------------+------------------+ SEE ALSO ne_request_create AUTHOR Joe Orton <neon@lists.manyfish.co.uk> Author. COPYRIGHT NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://www.webdav.org/neon/neon-0.30.1.tar.gz. Further information about this software can be found on the open source community website at http://www.webdav.org/neon/. neon 0.30.1 23 September 2014 NE_ADD_REQUEST_HEADE(3)