You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2014/11/22 06:30:33 UTC

[jira] [Updated] (COUCHDB-2475) GET /_active_tasks should use Content-Type: application/json

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

Hendy Irawan updated COUCHDB-2475:
----------------------------------
    Affects Version/s: 1.5.1

> GET /_active_tasks should use Content-Type: application/json
> ------------------------------------------------------------
>
>                 Key: COUCHDB-2475
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2475
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Replication
>    Affects Versions: 1.5.1
>            Reporter: Hendy Irawan
>
> Currently {{/_active_tasks}} uses {{Content-Type: text/plain}} which is incorrect, should be {{application/json}}.
> Affects 1.3.0, 1.5.0.
> {code}
> > curl -v http://localhost:5984/_active_tasks
> * Hostname was NOT found in DNS cache
> *   Trying 127.0.0.1...
> * Connected to localhost (127.0.0.1) port 5984 (#0)
> > GET /_active_tasks HTTP/1.1
> > User-Agent: curl/7.35.0
> > Host: localhost:5984
> > Accept: */*
> > 
> < HTTP/1.1 200 OK
> * Server CouchDB/1.5.0 (Erlang OTP/R16B03) is not blacklisted
> < Server: CouchDB/1.5.0 (Erlang OTP/R16B03)
> < Date: Sat, 22 Nov 2014 05:17:39 GMT
> < Content-Type: text/plain; charset=utf-8
> < Content-Length: 3
> < Cache-Control: must-revalidate
> < 
> []
> * Connection #0 to host localhost left intact
> {code}



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