Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set-cookie header returned by application is not fully relayed to fitnesse #68

Closed
lucasvdw opened this issue Jun 30, 2016 · 2 comments
Closed

Comments

@lucasvdw
Copy link

lucasvdw commented Jun 30, 2016

Situation: Using the http test, sending a get request to the application.

Expected: the application returns a http code 200, several response headers including a set-cookie-header, containing multiple cookies, and a response body.

Result: response body and http code OK, but the set-cookie header that the application sends back, which exists of two parts, is not completely relayed to fitnesse. Instead, only one part is relayed, making it impossible to check that both cookies are set by the application.

Example:
These headers are sent:
Content-Type: text/html;charset=UTF-8
Content-Language: nl-NL
Set-Cookie:
ABC=ABC%2DID%3DABC00005%26OFFER%2DID
Set-Cookie:
ABC-APP-VARIABLES=REQUEST%3DACTIVE
Transfer-Encoding: chunked
etc

The issue here is that the second set-cookie header DOES make it to Fitnesse but the first doesn't.

@fhoeben
Copy link
Owner

fhoeben commented Jun 30, 2016

Can you provide the actual cookie header value?

@lucasvdw
Copy link
Author

i've updated the above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants