Merge pull request #3394 from ngosang/json3

[Web UI] Fix API Content Types. Closes #3393
This commit is contained in:
sledgehammer999
2015-07-13 23:36:34 +03:00
2 changed files with 17 additions and 14 deletions

View File

@@ -46,7 +46,8 @@ namespace Http
const QString CONTENT_TYPE_CSS = "text/css; charset=UTF-8";
const QString CONTENT_TYPE_GIF = "image/gif";
const QString CONTENT_TYPE_HTML = "text/html; charset=UTF-8";
const QString CONTENT_TYPE_JS = "text/javascript; charset=UTF-8";
const QString CONTENT_TYPE_JS = "application/javascript; charset=UTF-8";
const QString CONTENT_TYPE_JSON = "application/json";
const QString CONTENT_TYPE_PNG = "image/png";
const QString CONTENT_TYPE_TXT = "text/plain; charset=UTF-8";