cloudhead/cradle — Issue #141: ReferenceError: headers is not defined
Author: slickplaid
Created: 2012-02-22 22:21:20+00:00
State: open

Not sure if this is a real issue with cradle or my code, but I thought I'd at least throw it out there and what fixed it for me.

```bash
ReferenceError: headers is not defined
at Connection.rawRequest (/home/locker/node_modules/cradle/lib/cradle.js:116:9)
at Connection.request (/home/locker/node_modules/cradle/lib/cradle.js:179:17)
at [object Object].query (/home/locker/node_modules/cradle/lib/cradle/database/index.js:15:21)
at [object Object].exists (/home/locker/node_modules/cradle/lib/cradle/database/index.js:19:10)
at /home/locker/database.js:41:13
at Array.forEach (native)
at Object.configure (/home/locker/database.js:30:13)
at HTTPSServer. (/home/locker/mvc.js:98:14)
at HTTPSServer.configure (/home/locker/node_modules/express/lib/http.js:542:61)
at bootApplication (/home/locker/mvc.js:84:7)
```