After the
I have been using Node.js 0.2.3 and response.headers ['set cookie'] Is the first cookie going to be any way that I can read just raw headers?
BTW, set-cookie should be in the title:
id1 = sw34rwdsfsd; Safe; Id2 = wer235sd2354; Safe; Id3 = df435df4543; Safe My guess is that it will not parse boolean attributes and will be closed after the first one. Does anybody know that it is fine in later versions of Node.js (even though I can not upgrade yet)?
var spawn = ('child_process') is required. Eggs; Function getHeader (url, callback) {var client = spawn ('curl', ['-i', url]); Client.stdout.setEncoding ('***'); Client.stdout.on ('data', function (data) {callback (data);}); } -i flag only asks curl for header. Whatever encoding to set to encoding - I think it is the default for the raw that you search for.
Comments
Post a Comment