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

Buffer post request so that content-length is always set #370

Merged
merged 4 commits into from
Aug 26, 2022

Conversation

Daniel-Svensson
Copy link
Member

@Daniel-Svensson Daniel-Svensson commented Aug 25, 2022

This fixes the HttpDomainClient so that it works against the new AspNetCore.Hosting nuget

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Aug 25, 2022

This pull request fixes 1 alert when merging bf3266b into 737625a - view on LGTM.com

fixed alerts:

  • 1 for Container contents are never accessed

@Daniel-Svensson
Copy link
Member Author

After making the change I found out about "LoadIntoBufferAsync()" on HttpRequest which might have buffered the response to solve the same problem, but I am not 100% sure without testing

Copy link
Contributor

@lindellhugo lindellhugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good improvements, but I think we need to verify with some test and tak a look at the failing tests.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Aug 26, 2022

This pull request fixes 1 alert when merging 723120a into 1b519d2 - view on LGTM.com

fixed alerts:

  • 1 for Container contents are never accessed

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Aug 26, 2022

This pull request fixes 1 alert when merging 1e73dea into 1b519d2 - view on LGTM.com

fixed alerts:

  • 1 for Container contents are never accessed

@Daniel-Svensson Daniel-Svensson merged commit 31a186b into OpenRIAServices:main Aug 26, 2022
@Daniel-Svensson Daniel-Svensson deleted the content_length branch August 26, 2022 09:16
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.

2 participants