node js http request headers
http.request(options, callback). Node maintains several connections per server to make HTTP requests.headers: An object containing request headers. headers: http. request() returns an instance of the http.ClientRequest class. (1 reply) I am trying to do a multipart post request from my node.js server. How do I set headers for a part in my request.To unsubscribe from this group and stop receiving emails from it, send an email to nodejsunsubscribegooglegroups.com. For efficiency reasons, Node.js normally buffers the request headers until you call request.end() or write the first chunk of request data.http.request(options[, callback]). Node.js maintains several connections per server to make HTTP requests. Node.js Reference. Built-in Modules.The IncomingMessage object represents the request to the server. IncomingMessage Methods and Properties. destroy().