incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toni Thomä <>
Subject Problem with filters
Date Sat, 04 Sep 2010 13:16:22 GMT
i´m getting a "curl: (56) Received problem 2 in the chunky parser"  
when i try to connect to the changes api with filters, like this: "https://HOST/DB/_changes?filter=app/important


HTTP/1.1 500 Internal Server Error
Server: CouchDB/1.0.0 (Erlang OTP/R13B04)
Date: Sat, 04 Sep 2010 09:57:19 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 44
Cache-Control: must-revalidate

curl: (56) Received problem 2 in the chunky parser

my filter design doc looks like this:
   "_id": "_design/app",:
   "_rev": "5-7e5f4602b5f4baa1f515e66f70249ed1",
   "filters": {
     "important": "function (doc, req) {if (doc.created_at) {return  
true;} else {return false;}}"

same happens when try to load this query in safari/firefox

all other views are working.

i´m on cloudant (couchdb 1.0.0)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message