You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benjamin Young (JIRA)" <ji...@apache.org> on 2013/03/06 21:52:15 UTC

[jira] [Created] (COUCHDB-1687) HEAD requests on all valid _design/doc endpoints (particularly _update)

Benjamin Young created COUCHDB-1687:
---------------------------------------

             Summary: HEAD requests on all valid _design/doc endpoints (particularly _update)
                 Key: COUCHDB-1687
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1687
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
            Reporter: Benjamin Young


I began building an update handler to "catch" webhook POSTs, but found that some--like MandrillApp.com--want to be sure the endpoint exists--so they do a HEAD request--before they send content via POST.

However, hitting an _update/handler with HEAD generates a 500 Internal Server Error currently.

Additionally, I found that _view/* URL's actually send the full content body to HEAD requests.

I'd love to see _update & _view (and all the others) respond correctly to HEAD requests.

Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira