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

Set 2 custom headers through transport (roundTripper) and get the response #2726

Open
rulisastra opened this issue Feb 21, 2022 · 0 comments

Comments

@rulisastra
Copy link

rulisastra commented Feb 21, 2022

Problem statement

Hello, I had this intention to sent X-Amzn-Trace-Id into the Backend through the header request. I see that we can use a custom header by manipulating the transport in the facade.tmpl

my question is... is there any simple way to get the response from 2 or more custom headers through the transport in facade.gotmpl?

because when I want to get the response header the client cannot ignore the empty header because the roundTripper.

Thanks!

@rulisastra rulisastra changed the title Set X-Amzn-Trace-Id for header that can be enabled and disabled Set X-Amzn-Trace-Id for header that can be enabled and disabled for the generated client Feb 23, 2022
@rulisastra rulisastra changed the title Set X-Amzn-Trace-Id for header that can be enabled and disabled for the generated client Set 2 custom headers through transport (roundTripper) and get the response Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants