I'm trying to test some server behavior and I'm seeing different content passed to my web browsers (Opera, IE, Netscape) and HttpUnit test client. I think it has to do with the the following code on the server:
This removes the cookie from my browsers on subsequent requests but my test client sends back a cookie with "name" and "" instead of removing the cookie from the cookie jar.
Have I found a bug or am I misunderstanding or misusing something? If bug, should I add it to the list?
-Stevers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to test some server behavior and I'm seeing different content passed to my web browsers (Opera, IE, Netscape) and HttpUnit test client. I think it has to do with the the following code on the server:
Cookie cookie = new Cookie( "name", "" );
cookie.setMaxAge( 0 );
This removes the cookie from my browsers on subsequent requests but my test client sends back a cookie with "name" and "" instead of removing the cookie from the cookie jar.
Have I found a bug or am I misunderstanding or misusing something? If bug, should I add it to the list?
-Stevers