Hey,
I'm currently trying to make multipart/mixed requests and parse the
responses. The format is explained here:
https://developers.google.com/storage/docs/json_api/v1/how-tos/batch
Implementing the body generator for the request wasn't too hard. Now I'm
thinking about how to write a streaming response parser.
I would like to have an api similar to this:
http.request(opts, function(res) {
var parser = new Parser()
res.pipe(parser)
parser.on('part', function(part) { … })
})
Each part of the response is a valid http response in itself. Is it
therefore possible to use the core http module to parse the individual
parts?
I'm not too eager to reimplement a http parser. Unfortunately I haven't
found a module for that job either.
Thanks,
Hendrik
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.