couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Coppens (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1299) Request to support sending list result content-type after getRow was invoked
Date Thu, 29 Sep 2011 21:21:45 GMT
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