mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 23:13:34 +00:00
c89bc56f6a
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 |
||
---|---|---|
.. | ||
decodebase64_test.c | ||
decodelatin1_test.c | ||
encodebase64_test.c | ||
encodehttpheadervalue_test.c | ||
escapehtml_test.c | ||
escapejsstringliteral_test.c | ||
escapeurlparam_test.c | ||
hascontrolcodes_test.c | ||
indentlines_test.c | ||
isacceptablehost_test.c | ||
isacceptablepath_test.c | ||
ismimetype_test.c | ||
isreasonablepath_test.c | ||
parsecontentlength_test.c | ||
parseforwarded_test.c | ||
parsehttpdatetime_test.c | ||
parsehttpmessage_test.c | ||
parsehttprange_test.c | ||
parseurl_test.c | ||
test.mk | ||
unchunk_test.c | ||
underlong_test.c | ||
visualizecontrolcodes_test.c |