Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Return the Content-ID value in batch responses by copying from partHeaders to response.headers #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bsw-wtg
Copy link

@bsw-wtg bsw-wtg commented Jul 20, 2023

See tschettler/breeze-odata4#85

In batch responses, Content-ID values are required to associate responses to their requests.
In odata4, the Content-ID header is a mime part header instead of a http response header, but mime part headers aren't returned, so the Content-ID values are lost.

This PR is a simple fix that makes the Content-ID available by copying it the Content-ID value from the part headers to the http response headers.

@bsw-wtg bsw-wtg marked this pull request as ready for review July 20, 2023 13:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant