joyent/node — pull request #8927 by jasnell (2014-12-22 20:10:29+00:00)
Title: http.OutgoingMessage.prototype.setHeaders

Small suggested api addition to http.OutgoingMessage ... add a
setHeaders to OutgoingMessage that allows multiple headers to be set at
once, similar to addTrailers.

Example:
```javascript
response.setHeaders({a:'b', c:'c'});
```

Also, add documentation to addTrailers that illustrates how setting
headers using an array is supposed to work.