matlab.net.http.CookieInfo.collectFromLog
Class: matlab.net.http.CookieInfo
Namespace: matlab.net.http
Latest CookieInfo objects from HTTP response message history
Description
infos = matlab.net.http.CookieInfo.collectFromLog(
returns history
)CookieInfo
objects
for all the valid cookies found in the Set-Cookie header fields of
the response message history. Use collectFromLog
to
obtain the latest cookies from a history of messages, such as those
exchanged during a transaction involving authentication or redirection.
If a server sends multiple versions of the same cookie, then collectFromLog
returns
only the most recent. This method also eliminates cookies that might
not be valid for the URI of the server, that is, whose Domain is inconsistent
with the request URI.
Input Arguments
Attributes
Sealed | true |
Static | true |
Examples
Version History
Introduced in R2016b