Add missing port SQS Host Header request
This commit is contained in:
parent
4170346ea7
commit
41165beb48
@ -334,7 +334,7 @@ class Connection
|
|||||||
$parsedUrl = parse_url($endpoint);
|
$parsedUrl = parse_url($endpoint);
|
||||||
|
|
||||||
$headers = [
|
$headers = [
|
||||||
'host' => $parsedUrl['host'],
|
'host' => $parsedUrl['host'].($parsedUrl['port'] ? ':'.$parsedUrl['port'] : ''),
|
||||||
'x-amz-date' => $amzDate,
|
'x-amz-date' => $amzDate,
|
||||||
'content-type' => 'application/x-www-form-urlencoded',
|
'content-type' => 'application/x-www-form-urlencoded',
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user