summaryrefslogtreecommitdiff
path: root/c/wasi-http/0.2.0/env-var/component.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-06w-h/0.2.0: Add a new example program env-varAndrew Clayton1-57/+24
This shows how to get access to the environment variables and echos them back to the client. We need to include wasi:cli/environment@0.2.0 in the proxy world. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-05w-h/0.2.0: Add an example of a file downloadAndrew Clayton1-0/+138
This also shows an example of (at least the best I could figure out) how to send an error 4xx/5xx response back. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>