GitHub user kxepal opened a pull request:

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

    Respond with HTTP 400 Bad Request on invalid revision number

    CouchDB should return HTTP 400 instead of HTTP 500 response
    when revision number isn't integer like "foo-bar" as like as it does
    for completely invalid revisions like "foo".
    
    COUCHDB-2375

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

    $ git pull https://github.com/kxepal/couchdb-couch 
2375-return-bad-request-on-invalid-rev-number

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

    https://github.com/apache/couchdb-couch/pull/8.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 #8
    
----
commit 926791188a6d606cd720d01170ac93b6e7122d4c
Author: Alexander Shorin <[email protected]>
Date:   2014-10-10T18:00:03Z

    Respond with HTTP 400 Bad Request on invalid revision number
    
    CouchDB should return HTTP 400 instead of HTTP 500 response
    when revision number isn't integer like "foo-bar" as like as it does
    for completely invalid revisions like "foo".
    
    COUCHDB-2375

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to