MCPcopy Create free account
hub / github.com/FongMi/TV / selectQop

Method selectQop

catvod/src/main/java/com/github/catvod/utils/Auth.java:72–76  ·  view source on GitHub ↗
(String qop)

Source from the content-addressed store, hash-verified

70 }
71
72 private static String selectQop(String qop) {
73 if (qop == null || qop.isEmpty()) return "";
74 for (String option : qop.split(",")) if ("auth".equalsIgnoreCase(option.trim())) return "auth";
75 return "";
76 }
77
78 private static Map<String, String> parseDigest(String header) {
79 Map<String, String> params = new HashMap<>();

Callers 1

digestMethod · 0.95

Calls 2

splitMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected