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

More forgiving HTTP version detection #2928

Open
itowlson opened this issue Nov 19, 2024 · 1 comment
Open

More forgiving HTTP version detection #2928

itowlson opened this issue Nov 19, 2024 · 1 comment

Comments

@itowlson
Copy link
Contributor

We detect a couple of supported RCs of wasi:http, plus releases 0.2.0 and 0.2.1. However, the wasi crate (https://docs.rs/wasi/latest/wasi/) has already moved on to 0.2.2, and will presumably move on to 0.2.3 etc. in other minor versions. This means users of the wasi crate in Spin apps have to pin to an exact patch version instead of the 0.13 minor version (see fermyon/leptos-spin#48 (comment)).

What would be the practicalities of enabling all 0.2 versions of wasi:http, present and future?

cc @alexcrichton

@alexcrichton
Copy link
Contributor

Ah yes I had forgotten about the explicit checks that Spin performs around here which will need to be relaxed yeah to support any 0.2.* version

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

No branches or pull requests

2 participants