incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: CouchDB _show and 404?
Date Thu, 24 Sep 2009 20:31:34 GMT
On Thu, Sep 24, 2009 at 12:27 PM, Zachary Zolton
<zachary.zolton@gmail.com> wrote:
> Guys,
>
> Does CouchDB provide any hooks for me to execute some custom logic
> when a _show request points to non-existent docid?
>

The problem with opening this up is that if devs are naive they might
end up treating 404s and cases where no docid was specified as the
same.

Probably that's not a big deal. Count me as in favor of exploring an
API like you suggest.

> Otherwise, I'm guessing it'd be best just to hack around this in my
> nginx proxy...
>
>
> Cheers,
>
> Zach
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message