hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-810) cookie value parsing
Date Fri, 12 Dec 2008 11:07:44 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-810.
------------------------------------------

    Resolution: Invalid

> an argument for u? 

No. HttpClient is NOT a browser. As to your first point, please take a look at the definition
of the cookie-value

---
cookie          =  "Cookie:" cookie-version 1*((";" | ",") cookie-value)
cookie-value    =  NAME "=" VALUE [";" path] [";" domain] [";" port]
---

If you are not happy with the way HttpClient handles cookies feel free to implement your own
CookieSpec and parse cookie headers whichever way you deem appropriate.

Oleg

> cookie value parsing
> --------------------
>
>                 Key: HTTPCLIENT-810
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-810
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpCookie
>    Affects Versions: 3.1 Final
>         Environment: jmeter test (using jmeter 2.3.2)
>            Reporter: freetwix
>
> A cookie is set in a request like this:
>   Set-Cookie: cookiename=|foo=yyy,bar=xxx|; secure; path=/
> The resulting cookie in the next request looks like this:
>   cookiename=|foo=yyy; bar=xxx|;
> as far as i understand, the one cookie is parsed into 2 cookies. jmeter seems to use
httpclient-3.1 for the parsing. is this an issue for you?
> greets,
> freetwix

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message