summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
author <>2010-05-28 12:22:27 +0200
committerGervase Markham <gerv@mozilla.org>2010-05-28 12:22:27 +0200
commitb1443469b0cda48db5a35c7f3af4f221b6661d1b (patch)
tree7af724cb504b076acfdff72d3a301021d3db5d39 /Bugzilla/Constants.pm
parent0f5bed357b6220bfacfbe9097a8142930442ea5a (diff)
downloadbugzilla-b1443469b0cda48db5a35c7f3af4f221b6661d1b.tar.gz
bugzilla-b1443469b0cda48db5a35c7f3af4f221b6661d1b.tar.xz
Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r=mkanat.
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 054fc879a..875a50133 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -432,6 +432,7 @@ use constant contenttypes =>
"atom"=> "application/atom+xml" ,
"xml" => "application/xml" ,
"js" => "application/x-javascript" ,
+ "json"=> "application/json" ,
"csv" => "text/csv" ,
"png" => "image/png" ,
"ics" => "text/calendar" ,