Improve type descriptions in redbean help (#213)

This commit is contained in:
Paul Kulchenko 2021-07-28 09:22:13 -07:00 committed by GitHub
parent 312ccc919b
commit 3ac6576fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -591,7 +591,7 @@ FUNCTIONS
message, then this function will fold those multiple entries into message, then this function will fold those multiple entries into
a single string. a single string.
GetHeaders() → table[name:str,value:str] GetHeaders() → {name:str = value:str, ...}
Returns HTTP headers as dictionary mapping header key strings to Returns HTTP headers as dictionary mapping header key strings to
their UTF-8 decoded values. The ordering of headers from the their UTF-8 decoded values. The ordering of headers from the
request message is not preserved. Whether or not the same key can request message is not preserved. Whether or not the same key can
@ -625,7 +625,7 @@ FUNCTIONS
Anything else that the RFC classifies as a "token" string is Anything else that the RFC classifies as a "token" string is
accepted too, which might contain characters like &". accepted too, which might contain characters like &".
GetParams() → array[array[str]] GetParams() → {{name:str[, value:str]}, ...}
Returns name=value parameters from Request-URL and Returns name=value parameters from Request-URL and
application/x-www-form-urlencoded message body in the order they application/x-www-form-urlencoded message body in the order they
were received. This may contain duplicates. The inner array will were received. This may contain duplicates. The inner array will