Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Synapticloop authored and Synapticloop committed Dec 10, 2015
1 parent 6cf5081 commit 428846d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ private void parseHeaders(CloseableHttpResponse closeableHttpResponse) throws B2
for (Header header : allHeaders) {
String headerName = header.getName();
String headerValue = header.getValue();
// we need to lowercase the headers, as they do not match the normal
// camel-case of the input headers
if(headerLookup.containsKey(headerName.toLowerCase())) {
switch (headerLookup.get(headerName.toLowerCase())) {
case HEADER_CONTENT_LENGTH:
Expand Down

0 comments on commit 428846d

Please sign in to comment.