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

index b4af398d4b90a5ee27b7e2ca4bde215751ccbd49..c4537f521ce66e105f2b065e50647ea1156a3b6a 100644 (file)
@@ -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" ,