couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-363) can't POST to an external
Date Wed, 27 May 2009 01:19:45 GMT

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

Paul Joseph Davis resolved COUCHDB-363.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.10)
                   0.9.1
         Assignee: Paul Joseph Davis

Fixed with patch supplied by Benoit.

> can't POST to an external
> -------------------------
>
>                 Key: COUCHDB-363
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-363
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.10
>            Reporter: Benoit Chesneau
>            Assignee: Paul Joseph Davis
>            Priority: Critical
>             Fix For: 0.9.1
>
>         Attachments: couch_httpd_external.diff
>
>
> 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.


Mime
View raw message