Project

General

Profile

Actions

Feature #10798

closed

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

Added by kyanagi (Kouhei Yanagita) about 9 years ago. Updated over 6 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
Actions

Also available in: Atom PDF

Like0
Like0