]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r=mkanat.
author <> <>
Fri, 28 May 2010 10:22:27 +0000 (11:22 +0100)
committerGervase Markham <gerv@mozilla.org>
Fri, 28 May 2010 10:22:27 +0000 (11:22 +0100)
Bugzilla/Constants.pm

index 054fc879ac4c78dddf51dad0c0b1319312d4e817..875a501333c948cb245da2c81d5a2a9d82fbcf59 100644 (file)
@@ -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" ,