1. Bryan Fink
  2. wmexamples
  3. Issues
Issue #1 resolved

Dear Bryan

Anonymous created an issue

I wanted to try out your examples. It compiled allright, but when I try to access the server through a browser I get:

Internal Server Error

The server encountered an error while processing this request: {error,function_clause, [{string,tokens1,[undefined,"/",[]]}, {webmachine_dispatcher,dispatch,2}, {wmexamples_resource,dispatch_detail,3}, {wmexamples_resource,'-dispatch_details/1-fun-0-',3}, {lists,foldl,3}, {wmexamples_resource,dispatch_details,1}, {wmexamples_resource,to_html,2}, {webmachine_resource,resource_call,5}]} mochiweb+webmachine web server

Any ideas? The only changes I have made is to comment out the ibrowse bit.

All the best,


Comments (1)

  1. Bryan Fink repo owner

    Oops. I knew it was too late to make that last commit. The issue should be resolved as of

    changeset:   12:0cc7ce973ccd
    date:        Fri May 29 08:28:36 2009 -0400
    summary:     check to make sure URL is a list before attempting a dispatch on it

    Thanks for the report.

  2. Log in to comment