I cannot find out what's wrong with abs_path
being "/search?search=Thrust+washers", and, what's more, how to debug this.
Class: error
Exception: {badmatch,{error,invalid_uri}}
Req: {http_request,'GET',{abs_path,"/search?search=Thrust+washers"},{1,1}}
Stack: [{myurl,pass_through,1,
[{file,"/usr/local/lib/yaws/voxx/ebin/myurl.erl"},{line,507}]},
Line 506:
Http_result = httpc:request(Url),
{ok, {{V, S, R}, _, _}} = Http_result,
It seems to be caused by +
(or %20
) characters in Url, but these are perfectly legal.
I found Yaws process died: {{badmatch,<<>>} and the answer of Steve Vinoski, but cannot make use of it due to lack of experience.