skip to content
==> README.md <==
1# @ajax/mesh-prog-http
2
3An HTTP/1.0 GET server computed on the GPU: meshd only moves bytes; a warp parses, routes and renders
4the whole response over the program table (`reads = ["*"]`): `/`, `/programs`, `/status`,
5`/start/<name>`, `/stop/<name>`, `/view/<name>`, `/load/<name>`, `/doom`, `/train`, `/render`,
6`/render.bmp`, `/render.ppm`; errors 400, 404, 405, 409, 503. Layout: @ajax/mesh-abi-view-http.
7
8- **Ported from:** alpha-rust-mesh `programs/http/src/lib.rs`.
9- **Tests:** on the simulator: every route's status line and a Content-Length equal to its body;
10  /start and /stop's P_RUN_REQ; /load's request words, 503 until acked, 409 and 400; /view's declared
11  fields; /train and /doom from those programs' views; /render.ppm and /render.bmp pixels in raster order.
12  The number formatting was checked against the Rust's own on the same values.