mw_cookie_parser {webfakes} | R Documentation |
Middleware to parse Cookies
Description
Adds the cookies as the cookies
element of the request object.
Usage
mw_cookie_parser()
Details
It ignores cookies in an invalid format. It ignores duplicate cookies: if two cookies have the same name, only the first one is included.
Value
Handler function.
See Also
Other middleware:
mw_cgi()
,
mw_etag()
,
mw_json()
,
mw_log()
,
mw_multipart()
,
mw_range_parser()
,
mw_raw()
,
mw_static()
,
mw_text()
,
mw_urlencoded()
[Package webfakes version 1.3.1 Index]