commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Erz <a...@ix.urz.uni-heidelberg.de>
Subject Re: HttpClient OutOfMemory continued
Date Mon, 28 Jan 2002 22:07:10 GMT
Serge Knystautas wrote:
SK> HttpMethodBase Line 1055: calls getResponseHeader with "Content-Length"...
SK> should be "content-length" since getResponseHeader returns all lower case
SK> HttpMethodBase Line 1056: same thing, different header
SK> HttpMethodBase Line 454: same thing, different header
SK> GetMethod Line 387: same thing, Content-Length again, and I think the source

getResponseHeader consists of this line:
                  return (Header)(responseHeaders.get(headerName.toLowerCase()));

The header names are converted to lower case before looking up the
values, so this does not seem to be a reason for a problem reading the
headers.

--
Andreas Erz


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message