uhttpd: fix HTTP incompatibilities in file handler

* Fixes sending an extraneous message body for 204 and 304 resoponses which
   breaks Chrome in keep-alive mode.

 * Adds mimetypes for JSON and JSONP.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43078
This commit is contained in:
Jo-Philipp Wich 2014-10-27 10:25:07 +00:00
parent f967a49dd0
commit ba48074622