ostinelli / misultin

Misultin (pronounced mee-sool-téen) is an Erlang library for building fast lightweight HTTP(S) servers, which also supports websockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirect for request ?

egobrain opened this issue · comments

May be it will be better to create some special function to redirect response like
Req:redirect("/login"),
and not to write this code
Req:respond(302,[{'Location',"/login"}],"Redirect").

I think it will look better :)