Skip to content

Commit

Permalink
Modify Protocol from Hardcoded 'https' to Dynamic Scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
NPJigaK authored and mstoykov committed Jun 20, 2023
1 parent 2e15a44 commit 7f41b86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/internal/sqs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class SQSClient extends AWSClient {
const signedRequest: SignedHTTPRequest = this.signature.sign(
{
method: 'POST',
protocol: 'https',
protocol: this.scheme,
hostname: this.host,
path: '/',
headers: {
Expand Down Expand Up @@ -130,7 +130,7 @@ export class SQSClient extends AWSClient {
const signedRequest: SignedHTTPRequest = this.signature.sign(
{
method: 'POST',
protocol: 'https',
protocol: this.scheme,
hostname: this.host,
path: '/',
headers: {
Expand Down Expand Up @@ -254,4 +254,4 @@ export interface ListQueuesResponse {
* Pagination token to include in the next request.
*/
nextToken?: string
}
}

0 comments on commit 7f41b86

Please sign in to comment.