Function silc_http_server_add_header
SYNOPSIS
SilcBool silc_http_server_add_header(SilcHttpServer httpd,
SilcHttpConnection conn,
const char *field,
const char *value);
DESCRIPTION
Adds a new header to the HTTP headers to be sent back to the
HTTP client. This may be called to add needed headers to the
HTTP reply.
EXAMPLE
silc_http_server_add_header(httpd, conn, "Content-Type", "image/jpeg");
silc_http_server_send(httpd, conn, image_data);
|