What steps will reproduce the problem?
1. Set up a rest client with ClientBuilder.newClient();
2. Give it a GET target - a web address that will respond with a cookie
3. Send the request and then read the response headers
What is the expected output? What do you see instead?
The response headers should contain a Set-Cookie header that has the cookie
that was returned from the target server. However there is such header at all.
All other headers are valid and present, as expected.
What version of the product are you using? On what operating system?
javaee7
Please provide any additional information below.
When reading the error page output from the server, it clearly states that i
should enable cookies for my requests. Therefore, it thinks that the rest
client doesn't allow cookies.
The whole point is to get the cookie as it starts my session and enables
further requests. As a proof of concept, i can open the same target address in
a web-browser and get the cookie, which i then manually set in the
rest-client's subsequent requests' headers...
Original issue reported on code.google.com by hristo.s...@gmail.com on 11 Aug 2014 at 8:14
Original issue reported on code.google.com by
hristo.s...@gmail.com
on 11 Aug 2014 at 8:14