ibrowse errors

Wes James comptekki@REDACTED
Sat Apr 24 00:24:44 CEST 2010


I'm running the unit tests with ibrowse like this:

c(ibrowse_test,[debug_info]).
c(ibrowse,[debug_info]).
c(ibrowse_lib,[debug_info]).
im().
ii(ibrowse_test).
ii(ibrowse).
ii(ibrowse_lib).
iaa([init]).
ibrowse_test:unit_tests().


I can see that during the test that http://intranet/messenger should
give an error like the one below for google, but I would think that
www.google.com would pass.

get, http://www.google.com                             : Err ->
{'EXIT',{badarg,[{ets,lookup,[ibrowse_lb,{"www.google.com",80}]},
                        {ibrowse,send_req,
                                 ["http://www.google.com",[],get,[],
                                  [{connect_timeout,5000}],
                                  30000]},
                        {ibrowse,send_req,5},
                        {ibrowse_test,execute_req,3}]}}


Why is it failing on www.google.com?

thx,

-wes


More information about the erlang-questions mailing list