Comments (2)
from wasmedge-quickjs.
The rust http server seems OK.
I try the http server example in https://wasmedge.org/book/en/dev/rust/networking.html#an-http-server-example
.
Send a request with "transfer-encoding":"chunked"
header, the server can echo the request body:
$ curl -d "name=WasmEdge" -X POST http://127.0.0.1:1234 -H "transfer-encoding":"chunked" -i
HTTP/1.0 200
echo: name=WasmEdge
I find the rust http server use HTTP/1.0 protocol, but the js http server use HTTP/1.1 protocol, maybe this causes the problem?
from wasmedge-quickjs.
Related Issues (20)
- Support `dns` Node API in wasmedge-quickjs
- Support `fs` Node API in wasmedge-quickjs
- Support `global` Node API in wasmedge-quickjs
- Support `http2` Node API in wasmedge-quickjs
- Support `net` Node API in wasmedge-quickj
- Support `readline` Node API in wasmedge-quickjs
- Support `tls` Node API in wasmedge-quickjs
- Need ARM support HOT 1
- Unable to start server - OS error 28 on Ubuntu 20.04 HOT 2
- implement Serialize/Deserialize for JsValue HOT 2
- Call non-runtime Host function HOT 1
- Demo Hello World setTimeout() does not seem to be working HOT 5
- The Demo React SSR with renderToPipeableStream may not work as expected. HOT 4
- Provide pre-built files in the release assets HOT 1
- [Feature Request] Standalone QuickJS server
- Using the WASM file from Rust code instead of the WasmEdge CLI Tool HOT 6
- Asynchronous operations are not available in the http server
- How to support asynchronous processing in JsFn::call ?
- Update support for the image module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmedge-quickjs.