Closed jamesdwilson closed 11 years ago
Thanks for pointing this out. Should work fine now on 0.6.5 (and below). Please confirm.
Note also the API change, you now use headers.get() or headers.get('name').
Thanks!
James Wilson
On Mon, Aug 19, 2013 at 3:04 PM, Gadi Cohen notifications@github.comwrote:
Thanks for pointing this out. Should work fine now on 0.6.5 (and below). Please confirm.
Note also the API change, you now use headers.get() or headers.get('name').
— Reply to this email directly or view it on GitHubhttps://github.com/gadicohen/meteor-headers/issues/1#issuecomment-22900021 .
When you fixed this you forgot to update the doc: "reqHeaders.host, etc."
Oh, thanks. Pushed this through last thing before bed last night. Corrected :)
this is with 0.6.5 btw.
W20130819-13:37:20.744(-5)? (STDERR) /home/james/.meteor/tools/4010e5731d/lib/nodemodules/fibers/future.js:173 W20130819-13:37:20.745(-5)? (STDERR) throw(ex); W20130819-13:37:20.745(-5)? (STDERR) ^ W20130819-13:37:20.749(-5)? (STDERR) TypeError: Cannot call method 'use' of undefined W20130819-13:37:20.749(-5)? (STDERR) at packages/headers/headers-server.js:4 W20130819-13:37:20.750(-5)? (STDERR) at packages/headers.js:36:4 W20130819-13:37:20.750(-5)? (STDERR) at packages/headers.js:45:3 W20130819-13:37:20.750(-5)? (STDERR) at mains (/home/james/projects/meteor-skeleton/.meteor/local/build/programs/server/boot.js:153:10) W20130819-13:37:20.751(-5)? (STDERR) at Array.forEach (native) W20130819-13:37:20.751(-5)? (STDERR) at Function..each._.forEach (/home/james/.meteor/tools/4010e5731d/lib/node_modules/underscore/underscore.js:79:11) W20130819-13:37:20.751(-5)? (STDERR) at /home/james/projects/meteor-skeleton/.meteor/local/build/programs/server/boot.js:80:5