[ 
https://issues.apache.org/jira/browse/HTTPCORE-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531581
 ] 

Oleg Kalnichevski commented on HTTPCORE-112:
--------------------------------------------

Roland, Andrea

There would be the following benefits of using HeaderElement instead of plain 
String:
(1) we would be able to re-use the existing parser instead of writing a new 
one. Writing an efficient parser is a non-trivial task.
(2) the same interface could be used for handling more complex headers such as 
Set-Cookie in the HttpCookie module

I am fine with using an Iterator interface instead of arrays but I tend to like 
strong typing of arrays given the fact we cannot use generics in core.

Oleg

> DefaultConnectionReuseStrategy misinterprets Connection header
> --------------------------------------------------------------
>
>                 Key: HTTPCORE-112
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-112
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0-alpha5
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-beta1
>
>         Attachments: multiuconn.patch
>
>
> DefaultConnectionReuseStrategy assumes that "Connection:" is a single-valued 
> header.

-- 
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