final MimeHeaders headers = requestPacket.getHeaders();
final int expectHeaderIdx = headers.indexOf(Header.Expect, 0);
return expectHeaderIdx != -1
&& headers.getValue(expectHeaderIdx).equalsIgnoreCase("100-Continue")
? new ExpectHandler(bodyHandler)
: bodyHandler;
}