Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Drop the connection header since it is not allowed by SIGv4 to SES an…
Browse files Browse the repository at this point in the history
…ymore.
  • Loading branch information
henhan authored and markstos committed Oct 13, 2020
1 parent 9b7a228 commit c17fbab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ Email.prototype.send = function send (callback) {
};
var signedOpts = aws4.sign(options, credentials);

signedOpts.headers['Connection'] = 'keep-alive';

debug('posting: %j', signedOpts);

request(signedOpts, (err, res, data) => this._processResponse(err, res, data, callback));
Expand Down

0 comments on commit c17fbab

Please sign in to comment.