cosmopolitan/tool
Justine Tunney c89bc56f6a Add HTTP/HTTPS Fetch() API to redbean
You can now say the following in your redbean Lua code:

    status,headers,payload = Fetch("https://foo.example")

The following Lua APIs have been introduced:

  - Fetch(str) → str,{str:str},str
  - GetHttpReason(int) → str
  - GetHttpReason(int) → str
  - ProgramSslFetchVerify(bool)
  - ProgramSslClientVerify(bool)

The following flags have been introduced:

  - `-j` enables client SSL verification
  - `-k` disables Fetch() SSL verification
  - `-t INT` may now be passed a negative value for keepalive

Lua exceptions now invoke Cosmopolitan's garbage collector when
unwinding the stack. So it's now safe to use _gc() w/ Lua 𝔱𝔥𝔯𝔬𝔴

See #97
2021-07-07 21:44:27 -07:00
..
build Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
decode Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
emacs Add SSL to redbean 2021-06-24 13:20:50 -07:00
hash Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
net Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
scripts Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
viz Add Braille Dump tool 2021-07-02 10:24:12 -07:00
tool.mk Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00