On Sun, 2017-01-01 at 23:57 -0500, [email protected] wrote: > I am working with a web service that returns cookies in the response > http body instead of the response headers. > I need to add these cookies to the HtmlUnit WebClient instance. > I have extracted the cookie string. Are there any methods that > automatically parse the cookie string? or would I have to parse the > cookie manually and separate it by domain, name, value, etc...?
CookeSpec#parse is your friend. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
