Skip to content

Add support for custom HTTP headers on remotes - #28

Merged
pokatomnik merged 1 commit into
dungeon-masterfrom
feature/custom-headers
Jun 11, 2026
Merged

Add support for custom HTTP headers on remotes#28
pokatomnik merged 1 commit into
dungeon-masterfrom
feature/custom-headers

Conversation

@pokatomnik

Copy link
Copy Markdown
Owner
  • Extend Remote with an optional headers map and expose a getter.
  • Update Remote::new to accept custom headers.
  • Modify Config::add_remote to forward headers to Remote.
  • Add interactive prompts in RemoteParams to collect header key/value pairs.
  • Pass collected headers when adding a remote.
  • Enhance select command to apply stored headers to HTTP requests using reqwest and http types.

- Extend `Remote` with an optional `headers` map and expose a getter.
- Update `Remote::new` to accept custom headers.
- Modify `Config::add_remote` to forward headers to `Remote`.
- Add interactive prompts in `RemoteParams` to collect header key/value
  pairs.
- Pass collected headers when adding a remote.
- Enhance `select` command to apply stored headers to HTTP requests
  using `reqwest` and `http` types.
@pokatomnik
pokatomnik merged commit 0dd4008 into dungeon-master Jun 11, 2026
1 check passed
@pokatomnik
pokatomnik deleted the feature/custom-headers branch June 11, 2026 14:34
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