Embedded TCP/IP stack
4.7.0
|
void fnet_http_srv_set_response_content_length | ( | fnet_http_srv_session_t | session, |
fnet_size_t | content_length | ||
) |
Sets content length in HTTP response header.
session | HTTP session handle. |
content_length | HTTP Response Content length. |
If the HTTP server works according to HTTP/1.x (FNET_CFG_HTTP_SRV_VERSION_MAJOR is 1
), this function may be used to change the default HTTP response content-length.