Skip to content

CookieEngine.ParseResponseHeaders

Andrew Lambert edited this page Nov 27, 2022 · 2 revisions

CookieEngine.ParseResponseHeaders

Method Signatures

 Sub ParseResponseHeaders(URL As String, ResponseHeaders As InternetHeaders)
 Sub ParseResponseHeaders(URL As String, ResponseHeaders As Iterable) ' Xojo 2018r4 and newer only

Parameters

Name Type Comment
URL String The URL of the request.
ResponseHeaders InternetHeaders or Iterable The response headers.

Remarks

Collect all the Set-Cookie: headers in the specified HTTP response headers. If a Set-Cookie: header specifies a domain attribute that doesn't match the one contained in the URL parameter then an exception will be raised. If the header doesn't have a domain attribute then the URL is used.

See also