From: <> Date: Fri, 28 May 2010 10:27:18 +0000 (+0100) Subject: Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r,a=mkanat. X-Git-Tag: bugzilla-3.6.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71298ec6c807d88469cb469bcf1d2163e4cc4fd8;p=thirdparty%2Fbugzilla.git Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r,a=mkanat. --- diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index b4af398d4b..c4537f521c 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -403,6 +403,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" ,