jsgi specification, v0.2 applications A JSGI application is a JavaScript function. It takes exactly one argument, the environment, and returns a JavaScript Object containing three properties: the status, the headers, and the body. middleware JSGI middleware is typically a function that takes at least one other JSGI application and returns another function which is also a JSGI application. the envi