kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

JSGI doesn't seem to read paths correctly. #202

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As described to Kris in IRC,

You set up a JSGI interface...

   app = function(env){
    console.log( env[ "PATH_INFO"] )
    if(env["PATH_INFO"] == "/"){
        return [200, {"Content-Type":"text/html"}, "!" + Controller.render(
"Index", null, {})  ];
    }
  };

And the PATH_INFO variable is always null.

Original issue reported on code.google.com by davidthi...@gmail.com on 9 Jun 2009 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by davidthi...@gmail.com on 13 Jun 2009 at 4:05