cosmopolitan/tool/net/demo/printpayload.lua
Justine Tunney aeeb851422 Fix bugs and make improvements to redbean
- Abort if .init.lua fails
- Refactor redbean to use new append library
- Use first certificate if SNI routing fails
- Use function/data sections when building Lua
- Don't use self-signed auto-generated cert for client
- Add -D staging dirs to redbean lua module default path
2021-08-06 14:18:34 -07:00

3 lines
104 B
Lua

SetStatus(200)
SetHeader("Content-Type", GetHeader("Content-Type") or "text/plain")
Write(GetPayload())