summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
authorKarl Palsson <karlp@remake.is>2014-10-23 13:00:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-27 11:20:53 +0100
commitfd8e5e379c23c5fbcec3e76894b839233df09067 (patch)
tree6a20d2319704d9403937145723623f98c2e17ce8 /plugin.c
parent5d1e339988c1e53ee7ed6c0c5592fdb9410a4a42 (diff)
mimetypes: add json and jsonp (distinct from js)
.js files are being transferred as text/javascript, which, although obsolete by RFC 4329 is most backward compatible. .json and .jsonp are both transferred as application/octet-stream however, causing warnings on the console for some browsers, even though it works just fine. Add the mimetypes for .json as per RFC 4627 and .jsonp as per RFC4329 (As jsonp _is_ javascript) Signed-off-by: Karl Palsson <karlp@remake.is>
Diffstat (limited to 'plugin.c')
0 files changed, 0 insertions, 0 deletions