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

Oleg Kalnichevski updated HTTPCORE-121:
---------------------------------------

    Fix Version/s: 4.0-beta1

Hi Andrea

The patch still needs more work.

I guess I confused you by choosing an over-simplistic example of the Set-Cookie 
header. Header elements, of course, can be more complex than just a name / 
value pair. 

Set-Cookie: cookie1=value; path="/"; domain=".booble.com", cookie2=value; path=/

There is already a method #getElements() in the Header interface intended to 
parse a header into a number header elements. You should leverage it.

Oleg

> new interface HeaderElementIterator
> -----------------------------------
>
>                 Key: HTTPCORE-121
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-121
>             Project: HttpComponents Core
>          Issue Type: Sub-task
>          Components: HttpCore
>    Affects Versions: 4.0-alpha5
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-beta1
>
>         Attachments: firstimpl.patch, firstimpl.patch
>
>
> As discussed for HTTPCORE-112, an interface and implementation for iterating 
> over header elements would be useful.
> The implementation can be put on top of the HeaderIterator introduced with 
> HTTPCORE-120.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to