I could do that but still i think the
problem with the GetCookie API needs to be sorted out on ROKU side, since the developers depending on the API might suddenly get wrong cookies based on the server response header having Max-Age as parameters, and everybody cannot keep manipulating the header.
And about the response header "Set-Cookie" manipulation there is a problem there as well:
(roDateTime Problem)The Set-cookie comes with Expires date time in this format "Sat, 03 Feb 2018 10:22:56 GMT" but roDateTime does not support this Datetime format.
Because of which eventhough we parse and get the cookie we will not be able to form the Expiration roDateTime since the format is not supported.
roDateTime supports only "YYYY-MM-DD HH:MM

S"