Project

General

Profile

Feature #10798

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

Added by kyanagi (Kouhei Yanagita) almost 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
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
#1

Updated by hsbt (Hiroshi SHIBATA) about 3 years ago

  • 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]

Also available in: Atom PDF