From: <> Date: Fri, 28 May 2010 10:22:27 +0000 (+0100) Subject: Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r=mkanat. X-Git-Tag: bugzilla-3.7.1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1443469b0cda48db5a35c7f3af4f221b6661d1b;p=thirdparty%2Fbugzilla.git Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r=mkanat. --- diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 054fc879ac..875a501333 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" ,