Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[support presigned URL] support http request without HTTP_USER_AGENT_FIELD #164

Merged

Conversation

giuspen
Copy link
Contributor

@giuspen giuspen commented Oct 5, 2023

Support http request without HTTP_USER_AGENT_FIELD

Description

As discussed in aws/aws-iot-device-sdk-embedded-C#1887 I have made changes to an existing demo http_demo_s3_download to generate a presigned URL instead of directly downloading the file.
I'm planning, if the changes to the submodules are accepted, to then generate a new demo called http_demo_s3_presigned_url or something like that.
You can see/test my work at https://github.com/giuspen/aws-iot-device-sdk-embedded-C/tree/GP_http_demo_s3_download_test_signature (only generate presigned URL) or https://github.com/giuspen/aws-iot-device-sdk-embedded-C/tree/GP_http_demo_s3_download_test_signature2 (download and also generate presigned URL)

Test Steps

Exact same requirements of original demo http_demo_s3_download

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

aws/aws-iot-device-sdk-embedded-C#1887
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@giuspen
Copy link
Contributor Author

giuspen commented Oct 6, 2023

/bot run formatting

@moninom1
Copy link
Member

moninom1 commented Oct 9, 2023

Hello @giuspen, Thank you for raising the PR! We will be looking further into this issue as soon as we can, thank you for your patience!”

@tony-josi-aws tony-josi-aws force-pushed the GP_HTTP_REQUEST_NO_USER_AGENT_FLAG branch from 3bf240d to 3dcb439 Compare October 11, 2023 06:02
archigup
archigup previously approved these changes Oct 19, 2023
Copy link
Member

@AniruddhaKanhere AniruddhaKanhere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these changes and the tests @giuspen.

The changes look good to me.

@AniruddhaKanhere AniruddhaKanhere merged commit 15213f4 into FreeRTOS:main Oct 25, 2023
11 checks passed
@giuspen giuspen deleted the GP_HTTP_REQUEST_NO_USER_AGENT_FLAG branch October 25, 2023 21:56
@chinglee-iot chinglee-iot mentioned this pull request May 1, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants