uboot-2025: mtk_httpd: set nocache header

This commit is contained in:
hanwckf
2025-08-21 00:49:45 +08:00
parent 4ece916d9e
commit 6e780183bf

View File

@@ -282,6 +282,11 @@ u32 http_make_response_header(struct http_response_info *info, char *buff,
p += snprintf(p, buff + size - p, "Content-Length: %d\r\n",
info->content_length);
if (p >= buff + size)
return size;
p += snprintf(p, buff + size - p, "Cache-Control: no-store\r\n");
if (p >= buff + size)
return size;