[erlang-questions] How to handle 'GET' in latest version of misultin
Roberto Ostinelli
roberto@REDACTED
Thu Dec 15 02:31:27 CET 2011
hi richard,
that's not the latest version of misultin, it's HEAD in git and it's
0.9-dev. this relates to a bug which has already been fixed.
i would suggest to use appropriate github issues to signal these and other
misultin-related bugs.
thank you,
r.
On Wed, Dec 14, 2011 at 9:08 AM, Richard Evans <
richardprideauxevans@REDACTED> wrote:
> Hey guys,
>
> In a previous version of misultin (0.8 and earlier version of 0.9), I
> was doing this kind of
> thing to get files:
>
> handle('GET', [], Req) ->
> Req:file("../../../client/SplashScreen.html");
>
> handle('GET', ["js", X], Req) ->
> Req:file("../../../client/js/"++X);
>
>
> but this no longer seems to be working with the latest version of misultin.
>
> e.g. it complains Error in process <0.64.0> with exit value:
>
> {undef,[{misultin_http,request,[{c,<0.35.0>,<0.37.0>,24594,8080,30000,4194304,2000,false,#Fun<server.1.98914765>,true,#Fun<server.2.60110728>,true,['draft-hybi-17','draft-hybi-10','draft-hixie-76'],undefined,false,true,false},{req,#Port<0.981>,http,{127,0,0,1},58496,undefined,close,undefined,{1,1},undefined,undefined,[],[],<<0
> bytes>>...
>
>
> Does anybody know how things have changed and what I need to modify?
>
> thanks,
> Richard
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111214/7d4edc8a/attachment.htm>
More information about the erlang-questions
mailing list