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

[WASI] HTTP trailers #107795

Closed
wants to merge 4 commits into from
Closed

[WASI] HTTP trailers #107795

wants to merge 4 commits into from

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Sep 13, 2024

  • HTTP trailers
  • bump wit-bindgen

Blocked on WebAssembly/wasi-http#128
Related by not ideal WebAssembly/wasi-http#129

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Net.Http os-wasi Related to WASI variant of arch-wasm labels Sep 13, 2024
@pavelsavara pavelsavara added this to the 10.0.0 milestone Sep 13, 2024
@pavelsavara pavelsavara self-assigned this Sep 13, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@pavelsavara
Copy link
Member Author

cc @dicej @jsturtevant

Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

LGTM

@pavelsavara pavelsavara marked this pull request as ready for review September 13, 2024 17:21
@pavelsavara pavelsavara requested a review from lewing as a code owner September 16, 2024 07:53
using (HttpClient httpClient = new HttpClient())
{
httpClient.DefaultRequestVersion = HttpVersion.Version20;
httpClient.DefaultRequestHeaders.Add("TE", "trailers");
Copy link
Member Author

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.

@dicej

@pavelsavara pavelsavara added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Sep 17, 2024
@pavelsavara
Copy link
Member Author

This is blocked until wasmtime allows sending TE header

@pavelsavara pavelsavara marked this pull request as draft September 17, 2024 09:34
@dotnet-policy-service dotnet-policy-service bot removed this from the 10.0.0 milestone Oct 17, 2024
Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Net.Http NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants