cosmopolitan/usr/share
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
..
dict Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
img Add Cosmopolitan Honeybadger to README.md 2021-02-04 03:31:03 -08:00
rom Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ssl/root Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
zoneinfo Initial import 2020-06-15 07:18:57 -07:00