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] Commented: (COUCHDB-947) /_restart API requires "Content-Type: application/json"
Date Mon, 15 Nov 2010 20:32:14 GMT

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

Jan Lehnardt commented on COUCHDB-947:
--------------------------------------

I think it is safe to remove the requirement to pass in the Content-Type, since no data is
actually stored.

> /_restart API requires "Content-Type: application/json"
> -------------------------------------------------------
>
>                 Key: COUCHDB-947
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-947
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.1, 1.2
>         Environment: Mac OS X 10.6.5
>            Reporter: Filippo Fadda
>             Fix For: 1.0.1, 1.1, 1.2
>
>
> The "/_restart" API requires "Content-Type: application/json" header. This is not coherent
because the API doesn't need parameters to be passed using JSON.

-- 
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