From: yanagi@... Date: 2015-01-29T08:20:39+00:00 Subject: [ruby-core:67879] [ruby-trunk - Feature #10798] [Open] Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes Issue #10798 has been reported by Kouhei Yanagita. ---------------------------------------- Feature #10798: Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes https://bugs.ruby-lang.org/issues/10798 * Author: Kouhei Yanagita * Status: Open * Priority: Normal * Assignee: ---------------------------------------- This patch adds the MIME type for JSON (application/json) to WEBrick::HTTPUtils::DefaultMimeTypes. This is useful when we run `ruby -run -e httpd docroot'. ---Files-------------------------------- webrick-add-json-mime-type.patch (483 Bytes) -- https://bugs.ruby-lang.org/