/** * Returns true if a Vary header contains an asterisk. Such responses cannot be cached. */ public static boolean hasVaryAll(Response response) { return hasVaryAll(response.headers()); }
/** * Returns true if a Vary header contains an asterisk. Such responses cannot be cached. */ public static boolean hasVaryAll(Response response) { return hasVaryAll(response.headers()); }
if (HttpHeaders.hasVaryAll(response)) { return null;
private static Headers varyHeaders(URLConnection urlConnection, Headers responseHeaders) { if (HttpHeaders.hasVaryAll(responseHeaders)) {
if (HttpHeaders.hasVaryAll(response)) { return null;
if (HttpHeaders.hasVaryAll(responseHeaders)) {
/** * Returns true if a Vary header contains an asterisk. Such responses cannot be cached. */ public static boolean hasVaryAll(Response response) { return hasVaryAll(response.headers()); }
/** * Returns true if a Vary header contains an asterisk. Such responses cannot be cached. */ public static boolean hasVaryAll(Response response) { return hasVaryAll(response.headers()); }
if (HttpHeaders.hasVaryAll(response)) { return null;
if (HttpHeaders.hasVaryAll(response)) { return null;
private static Headers varyHeaders(URLConnection urlConnection, Headers responseHeaders) { if (HttpHeaders.hasVaryAll(responseHeaders)) {
if (HttpHeaders.hasVaryAll(responseHeaders)) {