if (CommonHeaderValues.CONTINUE.equalsIgnoreCase(value)) {
return true;
}
// Multiple 'Expect' headers. Search through them.
HttpHeaderValues values = message.getHeaders(HttpHeaderNames.EXPECT);
MutableString current = values.get(0);
for( int i=0, l=values.size() ; i<l ; current=values.get(++i)) {
if (CommonHeaderValues.CONTINUE.equalsIgnoreCase(current)) {
return true;
}
}
return false;