-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add access to Headers in BatchRequestContentCollection #862
Comments
Thanks for raising this @Dethras To clarify,
|
|
Thanks for the extra information here @Dethras In my head, Any chance you can also share a code example of how you send the request once you get the |
@andrueastman Apologies for the late reply. Here is how I am currently doing it using the
|
Is your feature request related to a problem? Please describe the problem.
I have a specific case where I need to pass something through a Header to be accessed in a DelegatingHandler, with the addition of BatchRequestContentCollection, BatchRequestContent has become obsolete, and there is no way to access the Headers via BatchRequestContentCollection or via graphClient.Batch.PostAsync(BatchRequestContentCollection)
Describe the solution you'd like.
BatchRequestContentCollection or graphClient.Batch.PostAsync(BatchRequestContentCollection) should accept RequestHeaders/RequestInformation, and they should be added with every batch call made with the graphClient.Batch.PostAsync(BatchRequestContentCollection).
Additional context?
No response
The text was updated successfully, but these errors were encountered: