[#66678] [ruby-trunk - Feature #10481] Add "if" and "unless" clauses to rescue statements — alex@...
Issue #10481 has been updated by Alex Boyd.
3 messages
2014/12/04
[#66762] Re: [ruby-changes:36667] normal:r48748 (trunk): struct: avoid all O(n) behavior on access — Tanaka Akira <akr@...>
2014-12-10 0:44 GMT+09:00 normal <ko1@atdot.net>:
3 messages
2014/12/10
[#66851] [ruby-trunk - Feature #10585] struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs — funny.falcon@...
Issue #10585 has been updated by Yura Sokolov.
3 messages
2014/12/15
[#67126] Ruby 2.2.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 2.2.0.
8 messages
2014/12/25
[#67128] Re: Ruby 2.2.0 Released
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2014/12/25
I can't install it in any of our Ubuntu servers using rbenv:
[#67129] Re: Ruby 2.2.0 Released
— SHIBATA Hiroshi <shibata.hiroshi@...>
2014/12/25
> I can't install it in any of our Ubuntu servers using rbenv:
[ruby-core:67184] [ruby-trunk - Feature #10666] [Open] Allow setting of default MIME type for WEBrick
From:
parkrmoore@...
Date:
2014-12-28 18:14:02 UTC
List:
ruby-core #67184
Issue #10666 has been reported by Parker M.
----------------------------------------
Feature #10666: Allow setting of default MIME type for WEBrick
https://bugs.ruby-lang.org/issues/10666
* Author: Parker M
* Status: Open
* Priority: Low
* Assignee: Nobuyoshi Nakada
* Category: lib
* Target version: current: 2.2.0
----------------------------------------
HTTPUtils [specifically specifies `application/octet-stream` as the fallback MIME Type](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/entry/lib/webrick/httputils.rb#L131). Other web servers allow you to change the default to, say, `text/html` or `text/plain`. I would like to be able to set this to ay MIME Type in the `mime_tab` list, or to specify a `"default"` MIME Type in the `mime_tab` that is used:
mime_tab[suffix1] || mime_tab[suffix2] || mime_tab["default"] || "application/octet-stream"
or
mime_tab[suffix1] || mime_tab[suffix2] || @default_fallback_mime_type
What do you think?
--
https://bugs.ruby-lang.org/