Skip to content

Commit 9f3abf2

Browse files
committed
[minor] Emit an headers event on the returned assign instance. #8
1 parent e795941 commit 9f3abf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ Mana.prototype.send = function send(args) {
661661
*/
662662
function parse(err, res, body) {
663663
mana.debug('Response headers %j', res.headers || {});
664+
assign.emit('headers', res.headers);
664665

665666
if (err) {
666667
mana.debug('Received an error (%s) for URL %s', err.message, options.uri);

0 commit comments

Comments
 (0)