[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json |
Date: |
Sat, 23 Nov 2013 16:21:45 -0000 |
#1070: [spiffy] [PATCH] Add mime type for json
--------------------------+-------------------------------------------------
Reporter: RvdH | Owner: sjamaan
Type: enhancement | Status: closed
Priority: minor | Milestone: someday
Component: unknown | Version: 4.8.x
Resolution: wontfix | Keywords: mime json
--------------------------+-------------------------------------------------
Comment(by sjamaan):
Replying to [comment:7 RvdH]:
> Maybe it is better to support a mime.types-like configuration file, as
Apache and nginx do. This also allows you to separate logic from
configuration, keeping your code clean.
This goes '''completely''' against everything Spiffy stands for. I don't
think adding a pile of parsing code for a rigid configuration file syntax
is helpful at all. Spiffy uses Scheme for everything in order to be
lightweight, simple yet powerful.
However, feel free to write an egg which parses a file like that and puts
it in the parameter. That's why Spiffy uses parameters everywhere: so that
users can easily customise these things.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1070#comment:9>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/21
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json, Chicken Trac, 2013/11/22
- Re: [Chicken-janitors] #1070: [spiffy] [PATCH] Add mime type for json,
Chicken Trac <=