<div dir="ltr">I am learning Flask, microframework in Python similar to Dancer.<div><br></div><div>In flask if you define a route to something with a trailing slash like</div><div><br></div><div>get '/projects/' => sub {}</div><div><br></div><div>It will automatically insert a route for </div><div>get '/projects' => sub { redirect '/projects/' }</div><div><br></div><div><br><div></div>
</div>See Unique URLs / Redirection Behavior <a href="http://flask.pocoo.org/docs/0.10/quickstart/">http://flask.pocoo.org/docs/0.10/quickstart/</a><div><br></div><div>Then if you manually try to add the slash-less route, Flask blows up.</div><div><br></div><div><br></div><div>I wonder if Dancer2 should have similar behavior, without the blowing up part?<br></div><div><br>  <div>Gabor</div><div><br></div></div></div>