jar example is wrong in README #421

Closed
caljim opened this Issue Jan 23, 2013 · 1 comment

Comments

Projects
None yet
2 participants

caljim commented Jan 23, 2013

when I pass a request.jar() into REQUEST constructor. it shows error:
cookies = jar.get({ url: this.uri.href })
^
TypeError: Object # has no method 'get'

so , when I look into source code, I found request.jar() method NOT return a cookieJar instance which returns nothing!

so the right way may be pass request.cookieJar() into the constructor

Owner

mikeal commented Aug 28, 2014

Is this still an issue?

This is so old I'm closing, if it is actually still an issue just let me know and I'll re-open.

@mikeal mikeal closed this Aug 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment