Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2011-08-26:

[20:57] <nrstott> anyone familiar with jsgi-node and set-cookie here?
[21:00] <Wes--> deanlandolt: might be
[21:06] <deanlandolt> nrstott: what up?
[21:06] <nrstott> deanlandolt, it seems like set-cookie has changed, i just upgraded an app to newest jsgi and promised -io and now when i get a set-cookie header it is an array
[21:06] <nrstott> also, i can not figure out how to respond properly wtih multiple cookies any longer
[21:06] <nrstott> this was working on older versions of jsgi-node nad promised-io
[21:07] <nrstott> before the cookies were an object not an array
[21:08] <deanlandolt> hmm...is it still an array when it goes on the wire?
[21:12] <nrstott> ok well ive got 2 seperate issues that i need to seperate i guess ;0
[21:12] <nrstott> in the http-client when i am receiving set-cookie responses in CookieJar now it bombs out because the cookies are an array
[21:12] <nrstott> ive tried to take care of this errror and think ive taken care of it properly
[21:12] <deanlandolt> how else could multiple headers appear, other than an array?
[21:13] <nrstott> the 2nd is when im trying to send them over the wire i need to know how to set multiple cookies and i dont see how i can do that with the set-cookie on headers
[21:13] <nrstott> cookies used to be an object
[21:13] <nrstott> like { "AuthSession": "abc123", "OtherCookie": "alskdjfsadf" }
[21:13] <deanlandolt> really? the cookies header?
[21:13] <nrstott> now they are like [ { "AuthSession": "" }
[21:13] <nrstott> yes
[21:14] <deanlandolt> well that ain't right...hmmm
[21:14] <deanlandolt> i'm just leaving the office now..i'll peak at jsgi-node when i get home
[21:14] <nrstott> cool
[21:14] <deanlandolt> and the cookiejar in promised io
[21:14] <nrstott> im peeking at it too trying to fiugre out whats giong on here ;0

 

 

Logs by date :