R10-C INETS-4.2 HTTP post method

Stephen Han <>
Fri Feb 11 22:54:45 CET 2005


Hi.

Does anyone ever tried http:request with 'post' method?

Since I install R10-C http client 'post' method is not working.
There are bunch of message coming out but noteably at the beginning I
got following message.

> http:request(post, {"http://www.erlang.org", [], "application/xml", []}, [],[]).

Of course, the sample URL is not valide but, I expect we should not
get those error, either.

** dets: Bug was found when accessing table cookie_db,
** dets: operation was close and reply was
{'EXIT',{{case_clause,{'EXIT',{{badmatch,{error,eacces}},[{dets,perform_save,2},{dets,fclose,1},{dets,apply_op,4},{dets,do_apply_op,4},{proc_lib,init_p,5}]}}},[{dets,perform_save,2},{dets,fclose,1},{dets,apply_op,4},{dets,do_apply_op,4},{proc_lib,init_p,5}]}}.
** exited: {{case_clause,{undefined,{error,
                                        {'EXIT',
                                            {{badmatch,
                                                 {error,
                                                     {badarg,
                                                         [{erlang,
                                                              '++',
                                                              [0,"\r\n"]},
                                                          {http_request,
                                                              key_value_str,
                                                              2},
                                                          {http_request,
                                                             
'-http_headers/1-fun-0-',
                                                              3},
                                                          {lists,foldl,3},
                                                          {http_request,
                                                              http_headers|...},
                                                          {httpc_request|...},
                                                          {httpc_handler|...},
                                                          {...}]}}},
                                             [{httpc_manager,start_handler,2},
                                              {httpc_manager,handle_request,2},
                                              {httpc_manager,handle_call,3},
                                              {gen_server,handle_msg,6},
                                              {proc_lib,init_p,5}]}}}}},
            [{http,handle_request,5},
             {erl_eval,do_apply,5},
             {shell,exprs,6},
             {shell,eval_loop,3}]} **


regards,



More information about the erlang-questions mailing list