Embedded TCP/IP stack  4.7.0

◆ fnet_http_srv_set_response_no_header()

void fnet_http_srv_set_response_no_header ( fnet_http_srv_session_t  session)

Disables sending of HTTP response status-code and header.

Parameters
sessionHTTP session handle.

If the HTTP server works according to HTTP/1.x (FNET_CFG_HTTP_SRV_VERSION_MAJOR is 1), this function may be used to disables automatic sending of HTTP response status-code and header. It can be sent by a user handler.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net