couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Young (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1687) HEAD requests on all valid _design/doc endpoints (particularly _update)
Date Wed, 06 Mar 2013 20:54:13 GMT

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

Benjamin Young updated COUCHDB-1687:
------------------------------------

    Description: 
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!

  was:
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!

    
> 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

Mime
View raw message