Internal Server Errors do not format response correctly
-------------------------------------------------------
Key: COUCHDB-17
URL: https://issues.apache.org/jira/browse/COUCHDB-17
Project: CouchDB
Issue Type: Bug
Reporter: Noah Slater
Priority: Minor
The JSON returned from 500 responses seems to be escaped. For example, I get
HTTP/1.1 500 Internal Server Error
Server: inets/develop
Date: Wed, 26 Dec 2007 23:50:01 GMT
Cache-Control: no-cache
Pragma: no-cache
Expires: Wed, 26 Dec 2007 23:50:01 GMT
Transfer-Encoding: chunked
Content-Type: text/plain;charset=utf-8
{"error":"EXIT","reason":"{function_clause,[{cjson,tokenize,[\"A\",{decoder,utf8,null,1,1,any}]},\n
{cjson,decode1,2},\n {cjson,json_decode,2},\n
{mod_couch,'-
view_parse_query\/1-fun-0-',2},\n {lists,foldl,3},\n
{mod_couch,send_view,2},\n {mod_couch,do,1},\n
{httpd_response,traverse_modules,2}]}"}
-- [EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.