couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-1299) Request to support sending list result content-type after getRow was invoked
Date Sat, 29 Oct 2011 14:57:32 GMT

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

Jan Lehnardt closed COUCHDB-1299.
---------------------------------

    Resolution: Duplicate
    
> Request to support sending list result content-type after getRow was invoked
> ----------------------------------------------------------------------------
>
>                 Key: COUCHDB-1299
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1299
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Peter Coppens
>
> I am trying to return text/plain from a couchdb list but it is not working. The content
is returned correctly but the content type seems to be forced to application/json
> Code snippet is
>               start({ "headers" : {"Content-type" : "text/plain"}});
>               send("Nono, you can't do this");
> Before this code there is one getRow invoked. If I remove that the text/plain content
type is returned as expected
> It seems this is by design but I was advised (http://stackoverflow.com/questions/7595662/couchdb-list-api-cant-seem-to-return-plain-text)
 to log an enh. request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message