You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/27 17:57:10 UTC

[jira] [Commented] (COUCHDB-2905) Remove text/plain responses

    [ https://issues.apache.org/jira/browse/COUCHDB-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030049#comment-15030049 ] 

ASF GitHub Bot commented on COUCHDB-2905:
-----------------------------------------

GitHub user rnewson opened a pull request:

    https://github.com/apache/couchdb-couch/pull/131

    Always send application/json response type

    Modern browsers (I tested Firefox, Safari, Chrome) will render an
    application/json response body as text in a fixed width font. This
    ease of display motivated the text/plain vs application/json
    negotiation.
    
    It is now obsolete. Let's always send application/json content type.
    
    COUCHDB-2905

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 2905-always-json

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/131.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #131
    
----
commit 905d5a04333206d52776ea1f070a31fa44466d33
Author: Robert Newson <rn...@apache.org>
Date:   2015-11-27T16:53:58Z

    Always send application/json response type
    
    Modern browsers (I tested Firefox, Safari, Chrome) will render an
    application/json response body as text in a fixed width font. This
    ease of display motivated the text/plain vs application/json
    negotiation.
    
    It is now obsolete. Let's always send application/json content type.
    
    COUCHDB-2905

----


> Remove text/plain responses
> ---------------------------
>
>                 Key: COUCHDB-2905
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2905
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Robert Newson
>
> Modern browsers (I tested Firefox, Safari, Chrome) will render an application/json response body as text in a fixed width font. This ease of display motivated the text/plain vs application/json negotiation.
> It is now obsolete. Let's always send application/json content type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)