Ted Yu created HADOOP-10331:
-------------------------------
Summary: SwiftRestClient#buildException() references wrong length
Key: HADOOP-10331
URL: https://issues.apache.org/jira/browse/HADOOP-10331
Project: Hadoop Common
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
{code}
Header availableContentRange = method.getResponseHeader(
HEADER_CONTENT_RANGE);
if (requestContentLen!=null) {
errorText.append(" available
").append(availableContentRange.getValue());
}
{code}
availableContentRange should be checked instead.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)