From 267b61fdb660f281c7366d779ebde1c6eb2a7fef Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 20 Apr 2025 15:12:50 +0200 Subject: fw: app: http: Set settings content type to text/json --- fw/app/src/http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fw/app/src') diff --git a/fw/app/src/http.c b/fw/app/src/http.c index 1c24490..88cf579 100644 --- a/fw/app/src/http.c +++ b/fw/app/src/http.c @@ -130,6 +130,7 @@ static struct http_resource_detail_dynamic settings_resource_detail = { .common = { .type = HTTP_RESOURCE_TYPE_DYNAMIC, .bitmask_of_supported_http_methods = BIT(HTTP_GET), + .content_type = "text/json", }, .cb = settings_handler, .user_data = NULL, -- cgit v1.2.3-70-g09d2