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

Fixed the http header handling in Batch Requests #2658

Closed
wants to merge 1 commit into from
Closed

Fixed the http header handling in Batch Requests #2658

wants to merge 1 commit into from

Conversation

apiaskowski
Copy link
Contributor

Fixed the http header handling in ODataJsonLightBatchPayloadItemPropertiesCache, by skipping duplicate headers.

Issues

This pull request fixes Issue-2656

Description

OData batching does return an HTTP 500 error, if the request includes duplicate HTTP headers.
This issue is caused by not proper handling/validation of the HTTP headers, before adding them into a dictionary.

Checklist (Uncheck if it is not completed)

  • Test cases added
  • Build and test with one-click build and test script passed

Additional work necessary

-/-

…rtiesCache, by skipping duplicate headers.
@apiaskowski apiaskowski closed this May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant