-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
base: main
Are you sure you want to change the base?
[WASI] HTTP trailers #107795
Conversation
pavelsavara
commented
Sep 13, 2024
- HTTP trailers
- bump wit-bindgen
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 |