classafButter::StickyCookiesMiddleware
sys::Obj afButter::StickyCookiesMiddleware : afButter::ButterMiddleware
Middleware that stores cookies found in response objects, and automatically sets them in subsequent requests. This effectively gives you a session when querying web applications.
StickyCookiesMiddleware
inspects the Max-Age
attribute of the cookies and automatically expires them when required.
StickyCookiesMiddleware
does not respect the Domain, Path and Secure attributes.
Cookie[] cookies()
A read only list of cookies.
- sendRequest
virtual override ButterResponse sendRequest(Butter butter, ButterRequest req)
- setCookie
Sets the the cookie to be included in the next request