I see the same thing you do. You could use
GetResponseHeadersArray() and parse the headers/cookies yourself.
Brightscript Debugger> ?msg.getresponseheadersarray()
<Component: roArray> =
[
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
<Component: roAssociativeArray>
]
Brightscript Debugger> ha=msg.getresponseheadersarray()
Brightscript Debugger> ?ha[0]
<Component: roAssociativeArray> =
{
Content-Length: "0"
}
Brightscript Debugger> ?ha[1]
<Component: roAssociativeArray> =
{
Content-Type: "text/html; charset=UTF-8"
}
Brightscript Debugger> ?ha[2]
<Component: roAssociativeArray> =
{
Date: "Fri, 19 Jan 2018 21:31:57 GMT"
}
Brightscript Debugger> ?ha[3]
<Component: roAssociativeArray> =
{
Server: "Apache"
}
Brightscript Debugger> ?ha[4]
<Component: roAssociativeArray> =
{
Set-Cookie: "testcookie1=testing1; Max-Age=6000000; Expires=Fri, 30 Mar 2018 08:11:57 GMT; Path=/; Domain=devunne.com"
}
Brightscript Debugger> ?ha[5]
<Component: roAssociativeArray> =
{
Set-Cookie: "testcookie2=testing2; Max-Age=36000000; Expires=Tue, 12 Mar 2019 13:31:57 GMT; Path=/; Domain=devunne.com"
}
Brightscript Debugger> ?ha[6]
<Component: roAssociativeArray> =
{
Vary: "User-Agent"
}
Brightscript Debugger> ?ha[7]
<Component: roAssociativeArray> =
{
X-Powered-By: "PHP/5.6.32"
}
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.