]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Use application/json instead of text/x-json as mimetype
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 17 Oct 2022 14:46:39 +0000 (16:46 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Mon, 21 Nov 2022 01:33:44 +0000 (02:33 +0100)
commitb881ca6e1d15db012f3470b5412241273a0ebdfe
treedd7d58d199ae40482974e401960472bafe671a4f
parent0ff96106aa2e0f9a384c3a2662ca005797a6b399
Use application/json instead of text/x-json as mimetype

The web has mostly agreed on this standardized mimetype and e.g.
trying to open an API URI with Firefox is now opened in its friendly
JSON viewer rather than downloaded.
src/webui/comet.c
src/webui/webui_api.c