Add missing port SQS Host Header request

This commit is contained in:
Jérémy Derussé 2020-04-28 15:17:36 +02:00
parent 4170346ea7
commit 41165beb48
No known key found for this signature in database
GPG Key ID: 2083FA5758C473D2

View File

@ -334,7 +334,7 @@ class Connection
$parsedUrl = parse_url($endpoint);
$headers = [
'host' => $parsedUrl['host'],
'host' => $parsedUrl['host'].($parsedUrl['port'] ? ':'.$parsedUrl['port'] : ''),
'x-amz-date' => $amzDate,
'content-type' => 'application/x-www-form-urlencoded',
];