couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-898) Allow provides() to handle "raw" MIME Type declarations as well as "shortcut" names
Date Wed, 17 Nov 2010 14:44:14 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Lehnardt updated COUCHDB-898:
---------------------------------

    Fix Version/s:     (was: 1.0.2)

> Allow provides() to handle "raw" MIME Type declarations as well as "shortcut" names
> -----------------------------------------------------------------------------------
>
>                 Key: COUCHDB-898
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-898
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server
>    Affects Versions: 1.0.1
>            Reporter: Benjamin Young
>            Priority: Minor
>         Attachments: provides_reverse_content_type_lookup.diff
>
>
> Right now, provides() only supports the content types declared via registerType() if
they're selected using the shortcut names used in main.js (or render.js in trunk). Without
a list of those "laying around" a developer will likely submit a raw MIME Type vs. using the
shortcut name.
> For example,
> provides("text/calendar", ....);
> currently fails because you need to use:
> provides("ics", ....);
> More people know about "text/calendar" than will know to guess the shortcut name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message