ok2c commented on code in PR #694:
URL:
https://github.com/apache/httpcomponents-core/pull/694#discussion_r3959531112
##########
httpcore5/src/main/java/org/apache/hc/core5/http/message/BasicListHeaderIterator.java:
##########
@@ -81,6 +81,13 @@ public BasicListHeaderIterator(final List<? extends Header>
headers, final Strin
this.lastIndex = -1;
}
+ BasicListHeaderIterator(final List<? extends Header> headers, final int
currentIndex, final String name) {
Review Comment:
@arturobernalg Good catch! Thank you! Please do another pass. I have also
made a few small improvements and optimizations and have added test coverage.
Those tests can also serve as an example of how to parse messages efficiently
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]