-
Notifications
You must be signed in to change notification settings - Fork 1.6k
HttpContent: Buffering is implementation dependent #10108
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
Conversation
For `ReadAsStreamAsync`, corrects the documentation to indicate that waiting for the content to be buffered prior to task completion is conditional based on implementation. For `ReadAsStreamAsync` and `ReadAsStream`, gives an example of a common implementation that conditionally buffers. Per a [comment](dotnet/runtime#31316 (comment)) by @stephentoub, this area of documentation could stand improvement. This commit appears to be the first step in doing so.
Tagging subscribers to this area: @dotnet/ncl |
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: Günther Foidl <[email protected]>
Co-authored-by: Günther Foidl <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
Learn Build status updates of commit 98e56cd:
|
File | Status | Preview URL | Details |
---|---|---|---|
xml/System.Net.Http/HttpContent.xml | View | Details |
xml/System.Net.Http/HttpContent.xml
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
- Line 0, Column 0: [Warning: disallowed-html-tag - See documentation]
HTML tag 'see' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
Learn Build status updates of commit a7a2535: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
For
ReadAsStreamAsync
, corrects the documentation to indicate that waiting for the content to be buffered prior to task completion is conditional based on implementation.For
ReadAsStreamAsync
andReadAsStream
, gives an example of a common implementation that conditionally buffers.Per a comment by @stephentoub, this area of documentation could stand improvement. This commit appears to be the first step in doing so.
Summary
Describe your changes here.
Fixes #Issue_Number (if available)