Project

General

Profile

Actions

Feature #10798

closed

Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes

Feature #10798: Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes

Added by kyanagi (Kouhei Yanagita) almost 11 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:67879]

Description

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) webrick-add-json-mime-type.patch kyanagi (Kouhei Yanagita), 01/29/2015 08:14 AM

Updated by hsbt (Hiroshi SHIBATA) about 8 years ago Actions #1

  • Status changed from Open to Closed

Applied in changeset trunk|r59960.


Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes.

[Feature #10798][ruby-core:67879]

Actions

Also available in: PDF Atom