misultin rest example not working

Slav Pankratov gnoblin@REDACTED
Sun Oct 3 19:43:43 CEST 2010


Hello!

I am trying REST example here:
http://code.google.com/p/misultin/wiki/ExamplesPage

And when I try http://localhost:8080/users/roberto/messages

I get an error:

=ERROR REPORT==== 3-Oct-2010::20:35:20 ===
Error in process <0.36.0> with exit value:
{function_clause,[{misultin_http,enc_headers,["This is ~s's messages
page."]},{misultin_http,enc_headers,1},{misultin_http,call_mfa,2},{misultin_http,handle_get,2},{misultin_http,body,2}]}

It's ok when I try

   - http://localhost:8080/ : You should read "Main home page.";
   - http://localhost:8080/users : You should read "Main users root.";

but accessing users' folders and users' messages fail.

What am I doing wrong?

thanks!

-Slav


More information about the erlang-questions mailing list