First write and then end. Or call end with the data as argument.
req.write(data);
req.end();
is afaik equivalent to
req.end(data);
Jann
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.