hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arya F <arya6...@gmail.com>
Subject Cookies in the response body
Date Sun, 09 Oct 2016 21:19:41 GMT
I am working with a rest server that the cookies are returned in the
response body and not the response headers, which makes it impossible for
HttpClient to automatically deal with the cookies.

I have extracted the cookies into POJO classes and they look like this

      "T" :
path=/; domain=.MYDOAMIN.com; HttpOnly",

My question is

Do I need to break the value of the cookie as well manually? like
separating the value, domain and path before giving it to HttpClient? Or
does HttpClient have a method which I can pass the full value below and
HttpClient would automatically extract the domain, path and value?

path=/; domain=.MYDOAMIN.com; HttpOnly

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message