aws/aws-sdk-js — pull request #413 by AdityaManohar (2014-11-19 23:31:36+00:00)
Title: Set correct host header on redirect

It looks like `http.request(options, callback)` honors `options.headers.host` over `options.host`. Even though we update the endpoint on `REDIRECT`, we weren't updating `httpRequest.headers['Host']`.

All unit tests pass. No change in integration tests.