can't POST to an external
-------------------------
Key: COUCHDB-363
URL: https://issues.apache.org/jira/browse/COUCHDB-363
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.10
Reporter: Benoit Chesneau
Fix For: 0.10
Trying to post to an external and get error 500 :
Headers: [{'Accept',"application/json, text/javascript, */*"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"en-us,en;q=0.5"},
{'Cache-Control',"no-cache"},
{'Connection',"keep-alive"},
{'Content-Length',"59"},
{'Content-Type',"application/x-www-form-urlencoded; charset=UTF-8"},
{'Host',"127.0.0.1:5984"},
{'Keep-Alive',"300"},
{'Pragma',"no-cache"},
{'Referer',"http://127.0.0.1:5984/friendpaste/_design/fp/index.html"},
{'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10"},
{"X-Requested-With","XMLHttpRequest"}]
[error] [<0.60.0>] Uncaught error in HTTP request: {error,function_clause}
[info] [<0.60.0>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]},
{mochiweb_util,parse_qs,2},
{couch_httpd_external,json_req_obj,2},
{couch_httpd_external,process_external_req,3},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[debug] [<0.60.0>] httpd 500 error response:
{"error":"unknown_error","reason":"function_clause"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.