http_get_servername, http_set_servername - get and set the server name string |
#include <pthr_http.h> const char *http_get_servername (void); const char *http_set_servername (const char *new_server_name); |
Get and set the server name (which is sent in the Server) header by the server when it responds to requests. |
The default string is pthrlib-httpd/version. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
pthrlib-3.0.3 |
new_http_request(3), new_http_response(3), new_cgi(3). |