summaryrefslogtreecommitdiff
path: root/fw/app/src/http.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-20 15:12:50 +0200
committerxengineering <me@xengineering.eu>2025-05-07 18:14:13 +0200
commit197353de06d6504cea62b9c2dbeedb384750b888 (patch)
tree7219f4a90b093f029a29894a48fb32e4d14bce3f /fw/app/src/http.c
parent993996ab2b9dc7332d06453e2de7315b06ce2458 (diff)
downloadiot-contact-197353de06d6504cea62b9c2dbeedb384750b888.tar
iot-contact-197353de06d6504cea62b9c2dbeedb384750b888.tar.zst
iot-contact-197353de06d6504cea62b9c2dbeedb384750b888.zip
fw: app: http: Set settings content type to text/json
Diffstat (limited to 'fw/app/src/http.c')
-rw-r--r--fw/app/src/http.c1
1 files changed, 1 insertions, 0 deletions
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,