-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[WASI] HTTP trailers #107795
[WASI] HTTP trailers #107795
Conversation
Tagging subscribers to this area: @dotnet/ncl |
src/libraries/System.Net.Http/src/System/Net/Http/WasiHttpHandler/WasiInputStream.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
using (HttpClient httpClient = new HttpClient()) | ||
{ | ||
httpClient.DefaultRequestVersion = HttpVersion.Version20; | ||
httpClient.DefaultRequestHeaders.Add("TE", "trailers"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understandably the line with HttpVersion.Version20
doesn't do anything right now.
But I'm getting ITypes.HeaderError.FORBIDDEN
from wasmtime v24 for setting TE
header. Am I doing it wrong ?
I remeber there was some discussion about it, but can't find it now.
This is blocked until wasmtime allows sending |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Blocked on WebAssembly/wasi-http#128
Related by not ideal WebAssembly/wasi-http#129