-
Notifications
You must be signed in to change notification settings - Fork 10
chl_set_default_headers
it4e edited this page Apr 16, 2016
·
1 revision
<chl/chl.h>
chl_set_default_headers, CHL set default headers
void chl_set_default_headers();
The chl_set_default_headers function is used to define some default HTTP headers.
Default headers:
- Content-type: text/html
- X-Powered-By: some_chl_version_val
No arguments.
No return value.
main.c
#include <chl/chl.h>
int main() {
chl_set_default_headers();
chl_print_headers();
}
Output: .... Content-type: text/html\r\n ......