cosmopolitan/test/net/http
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
..
decodebase64_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
decodelatin1_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
encodebase64_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
encodehttpheadervalue_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapehtml_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapejsstringliteral_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapeurlparam_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
hascontrolcodes_test.c Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
indentlines_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isacceptablehost_test.c Make port optional in X-Forwarded-For 2021-06-15 06:46:30 -07:00
isacceptablepath_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
ismimetype_test.c Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00
isreasonablepath_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
parsecontentlength_test.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
parseforwarded_test.c Make port optional in X-Forwarded-For 2021-06-15 06:46:30 -07:00
parsehttpdatetime_test.c Change license 2020-12-27 17:18:44 -08:00
parsehttpmessage_test.c Add chunked transfer decoding to redbean 2021-07-05 01:05:10 -07:00
parsehttprange_test.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
parseurl_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
test.mk Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00
unchunk_test.c Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
underlong_test.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
visualizecontrolcodes_test.c Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00