diff options
author | xengineering <me@xengineering.eu> | 2025-04-20 15:12:50 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-05-07 18:14:13 +0200 |
commit | 197353de06d6504cea62b9c2dbeedb384750b888 (patch) | |
tree | 7219f4a90b093f029a29894a48fb32e4d14bce3f /fw/app/src/http.c | |
parent | 993996ab2b9dc7332d06453e2de7315b06ce2458 (diff) | |
download | iot-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.c | 1 |
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, |