Hi,
well, easiest is maybe to just trim the Set-Cookie string after the expires value;
def value = messageExchange.responseHeaders["Set-Cookie"]
value = value.substring( 0, value.indexOf( "; Expires=" ))
...
(this will of course also remove the "; Expires=" part of the header..)
would that work?
regards,
/Ole
eviware.com