[ 
https://issues.apache.org/jira/browse/WINK-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724957#action_12724957
 ] 

Michael Elman commented on WINK-15:
-----------------------------------

The following problems found:
1. ResponseImpl was sending COOKIE instead of SET_COOKIE.
2. NewCookieHeaderDelegate was appending max-age for non-zero values instead of 
non-negative values.
3. CookieHeaderDelegate was failing with NPE, since it didn't support Cookies 
that started with "Version". Funny, since cookies must start with Version.

> CookieParamTest_from_standalone fails
> -------------------------------------
>
>                 Key: WINK-15
>                 URL: https://issues.apache.org/jira/browse/WINK-15
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Michael Elman
>            Assignee: Michael Elman
>
> CookieParamTest_from_standalone fails:
> 06-28-2009 14:16:29:  [JAXRSCommonClient] Test setup OK
> 06-28-2009 14:16:29:  [HttpRequest] Dispatching request: 'GET 
> /jaxrs_rs_cookieParamTest_web/CookieParamTest?todo=setcookie HTTP/1.1' to 
> target server at 'localhost:8888'
> 06-28-2009 14:16:29:  ERROR: [WebValidatorBase] Unable to find the following 
> header in the server's response: Set-Cookie: name1=value1
> [WebValidatorBase] Response headers recieved from server:
>       ResponseHeader -> Server: Apache-Coyote/1.1
>       ResponseHeader -> Cookie: name1=value1;Version=1;Max-Age=-1
>       ResponseHeader -> Content-Type: application/xml
>       ResponseHeader -> Content-Length: 14
>       ResponseHeader -> Date: Sun, 28 Jun 2009 11:16:29 GMT
> 06-28-2009 14:16:29:  [HttpRequest] Dispatching request: 'GET 
> /jaxrs_rs_cookieParamTest_web/CookieParamTest?todo=verifycookie  HTTP/1.1' to 
> target server at 'localhost:8888'
> Jun 28, 2009 2:16:29 PM org.apache.commons.httpclient.HttpConnection 
> releaseConnection
> WARNING: HttpConnectionManager is null.  Connection cannot be released.
> 06-28-2009 14:16:29:  ERROR: [WebValidatorBase] Unable to find the following 
> search string in the server's response: 'name1=value1' at index: 0
> [WebValidatorBase] Server's response:
> -------------------------------------------
> name1=abcverifyCookie=done
> -------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to