gofr-dev / gofr-dev/gofr

Persist incoming header in outbound request while make an interservice request

Open
#1,899 5 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
Go
Stars
20.9k
Forks
1.8k
Avg merge
5d 18h
Merged PRs (30d)
39

Description

**Is your feature request related to a problem? Please describe.**
It could be requirement that we want persist the headers in case of oauth headers which carry information to the outbout request, as it might contain user_id or something like that.

**Describe the solution you'd like**
Create an option which would allow to set persist header to true or false.

**Describe alternatives you've considered**
Passing them manually

**Additional context**
**Should this be actually sent across or it should be parsed and may be added in body or qparams?**

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or an entry point; start by tracing how incoming headers and outbound interservice requests are handled. Clarify whether propagation is controlled by a true/false option and whether headers are sent unchanged or transformed, then cover the chosen behavior with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.