Skip to content

fix: Resolve streaming bug in MemoryWebClient#959

Merged
dluc merged 6 commits intomicrosoft:mainfrom
westdavidr:mwc_fix
Jan 8, 2025
Merged

fix: Resolve streaming bug in MemoryWebClient#959
dluc merged 6 commits intomicrosoft:mainfrom
westdavidr:mwc_fix

Conversation

@westdavidr
Copy link
Contributor

  • Changed from PostAsync to SendAsync for correct request handling.
  • Adjusted HttpCompletionOption for proper streaming behavior.

Motivation and Context (Why the change? What's the scenario?)

Resolves issue with previous streaming setup.

High level description (Approach, Design)

Changed from PostAsync to SendAsync for correct request handling and added the HttpCompletionOption so the operation completes as soon as the initial headers are sent.

- Changed from PostAsync to SendAsync for correct request handling.
- Adjusted HttpCompletionOption for proper streaming behavior.

Resolves issue with previous streaming setup.
@westdavidr westdavidr requested a review from dluc as a code owner January 2, 2025 21:00
@dluc dluc merged commit 6c3f50a into microsoft:main Jan 8, 2025
6 checks passed
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