KETTLE-10: Update Kettle's JSGI support to conform to version 0.3 of the spec

Metadata

Source
KETTLE-10
Type
Sub-task
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2009-09-14T23:38:14.000-0400
Updated
2014-03-03T14:24:04.105-0500
Versions
  1. 0.1
Fixed Versions
  1. 0.3
Component
N/A

Description

The CommonJS group agreed that the response returned by a JSGI "app" should now be an object literal like this:

{
status: 200
headers: {}
content-type: "text/plain"
body: "foo"
}

We also need to look into the other changes between JSGI 0.1 and 0.3