On Sun, Aug 9, 2020 at 12:24 AM Sergey Ponomarev wrote:
> */
> static void send_headers(unsigned responseNum)
> {
> +#if ENABLE_FEATURE_HTTPD_DATE || ENABLE_FEATURE_HTTPD_LAST_MODIFIED
> static const char RFC1123FMT[] ALIGN1 = "%a, %d %b %Y %H:%M:%S GMT";
> /* Fixed size 29-byt
The Last-Modified header is used for caching.
The client (browser) will send back the received date to server via
If-Modified-Since request header.
But both headers MUST be an RFC 1123 formatted string.
And the formatting consumes resources on request parsing and response
generation.
Instead we c