Skip to content

[Feat][DEVX-793] Allow Passing Custom Headers to Http Requests#1291

Merged
ajimae merged 4 commits into
masterfrom
feat/add-custom-headers-to-http-requests
May 21, 2026
Merged

[Feat][DEVX-793] Allow Passing Custom Headers to Http Requests#1291
ajimae merged 4 commits into
masterfrom
feat/add-custom-headers-to-http-requests

Conversation

@ajimae

@ajimae ajimae commented May 21, 2026

Copy link
Copy Markdown
Member

Summary

Allow passing custom headers to http requests

Completed Tasks

  • update executor function to include header values from httpClientOptions

ajimae added 2 commits May 21, 2026 16:29
- pass custom headers to request headers
- pass custom headers to request headers
- add tests to validate functionality
@ajimae ajimae requested a review from a team as a code owner May 21, 2026 14:49
@changeset-bot

changeset-bot Bot commented May 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 004b122

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@commercetools/ts-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

ajimae and others added 2 commits May 21, 2026 16:50
Add support for custom headers in HTTP requests.
- pass custom headers to request headers
- add tests to validate functionality
@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.62%. Comparing base (55b82c5) to head (004b122).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1291   +/-   ##
=======================================
  Coverage   97.62%   97.62%           
=======================================
  Files          88       88           
  Lines        1345     1346    +1     
  Branches      350      351    +1     
=======================================
+ Hits         1313     1314    +1     
  Misses         26       26           
  Partials        6        6           
Flag Coverage Δ
test-coverage 97.62% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ajimae ajimae merged commit 5638fa6 into master May 21, 2026
13 checks passed
@ajimae ajimae deleted the feat/add-custom-headers-to-http-requests branch May 21, 2026 15:07
@ct-changesets ct-changesets Bot mentioned this pull request May 21, 2026
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.

1 participant