code: private static boolean setPayloadForStatus(StatusType statusType) {
      return statusType.code() != Status.NOT_MODIFIED.code() &&
             statusType.code() != Status.NO_CONTENT.code() &&
             statusType.family() != StatusType.Family.INFORMATIONAL;
    }
docs: see http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3