Andrey Antukh 9de25c5404
🐛 Fix incorrect content-type on doc endpoint response (#9681)
The /api/main/doc endpoint was returning HTML content with a
text/plain content-type header instead of text/html. This caused
browsers to render the response as plain text.

Added content-type: text/html; charset=utf-8 header to the
response in the doc handler and added a regression test to
verify the fix.

Closes #9680

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-05-18 12:54:16 +02:00
..
2025-08-01 11:20:01 +02:00
2025-10-07 12:08:00 +02:00
2025-10-13 12:24:05 +02:00
2025-10-13 12:24:05 +02:00