mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
Update GetHeaders and GetParams descriptions in redbean help.
This commit is contained in:
parent
8c4cce043c
commit
729be81a85
1 changed files with 2 additions and 2 deletions
|
@ -570,7 +570,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
|
||||||
|
@ -604,7 +604,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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue