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

[REQ] Rust: Copy headers in case of errors #18676

Open
omer-shtivi opened this issue May 15, 2024 · 0 comments
Open

[REQ] Rust: Copy headers in case of errors #18676

omer-shtivi opened this issue May 15, 2024 · 0 comments

Comments

@omer-shtivi
Copy link

Is your feature request related to a problem? Please describe.

Some APIs when an error is returned they provides headers which are useful:
example:
https://learn.microsoft.com/en-us/rest/api/power-bi/#throttling
But the code which generated doesn't copy the headers.

Describe the solution you'd like

Copy the response of the headers into the returned error like the body is copied.

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

1 participant