[Zrouter-src] ZRouter.org: push to zconf++ libzhttp/mime_types.cpp

zrouter-src at zrouter.org zrouter-src at zrouter.org
Tue Jan 17 19:12:18 UTC 2012


details:   /rev/e3b0eab5e767
changeset: 41:e3b0eab5e767
user:      "Nicolai Petri <nicolai at petri.dk>"
date:      Tue Jan 17 20:11:55 2012 +0100
description:
Add mimetype for .json extension.

diffstat:

 libzhttp/mime_types.cpp |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 528ff8f56dd5 -r e3b0eab5e767 libzhttp/mime_types.cpp
--- a/libzhttp/mime_types.cpp	Thu Jan 12 22:10:42 2012 +0100
+++ b/libzhttp/mime_types.cpp	Tue Jan 17 20:11:55 2012 +0100
@@ -29,6 +29,7 @@
 				{ "html", "text/html" },
 				{ "css", "text/css" },
 				{ "js", "text/javascript" },
+				{ "json", "application/json" },
 				{ "jpg", "image/jpeg" },
 				{ "png", "image/png" },
 				{ "xml", "text/xml" },


More information about the Zrouter-src mailing list