Does httpunit support form login with HttpOnly? I have HttpOnly in the Set-Cookie field. When I use httpunit to perform a form login, it fails with:
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Not Found
at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567)
at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136)
at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)
When I do NOT have HttpOnly set, then the same form login code works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-01
I am having issues with httponly myself. I found bug 1672385. It seems the developer had a fix, and yet it was rejected. HttpUnit 1.7 shows that this is fixed in that release, but it is not. Does anyone know what is going on with that bug?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does httpunit support form login with HttpOnly? I have HttpOnly in the Set-Cookie field. When I use httpunit to perform a form login, it fails with:
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Not Found
at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567)
at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136)
at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)
When I do NOT have HttpOnly set, then the same form login code works fine.
I am having issues with httponly myself. I found bug 1672385. It seems the developer had a fix, and yet it was rejected. HttpUnit 1.7 shows that this is fixed in that release, but it is not. Does anyone know what is going on with that bug?