- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 162 for revalidate (0.22 sec)
-
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
"Cache-Control", "must-revalidate", ) val cacheControl = parse(headers) assertThat(cacheControl.toString()).isEqualTo("max-age=12, must-revalidate") } @Test fun parsePragmaHeaderValueIsNotRetained() { val headers = headersOf("Pragma", "must-revalidate") val cacheControl = parse(headers) assertThat(cacheControl.toString()).isEqualTo("must-revalidate") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
if (sMaxAgeSeconds != -1) append("s-maxage=").append(sMaxAgeSeconds).append(", ") if (isPrivate) append("private, ") if (isPublic) append("public, ") if (mustRevalidate) append("must-revalidate, ") if (maxStaleSeconds != -1) append("max-stale=").append(maxStaleSeconds).append(", ") if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 7.2K bytes - Viewed (0) -
fastapi/datastructures.py
yield cls.validate @classmethod def validate(cls: Type["UploadFile"], v: Any) -> Any: if not isinstance(v, StarletteUploadFile): raise ValueError(f"Expected UploadFile, received: {type(v)}") return v @classmethod def _validate(cls, __input_value: Any, _: Any) -> "UploadFile":
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/test_datastructures.py
# TODO: remove when deprecating Pydantic v1 def test_upload_file_invalid(): with pytest.raises(ValueError): UploadFile.validate("not a Starlette UploadFile") def test_upload_file_invalid_pydantic_v2(): with pytest.raises(ValueError): UploadFile._validate("not a Starlette UploadFile", {}) def test_default_placeholder_equals(): placeholder_1 = Default("a") placeholder_2 = Default("a")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
} insertAll(urlFilterList, OpType.INDEX); invalidateSet.forEach(s -> excludeFilterCache.invalidate(s)); } @Override public void delete(final String sessionId) { deleteBySessionId(sessionId); includeFilterCache.invalidate(sessionId); excludeFilterCache.invalidate(sessionId); } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
protected Set<E> delegate() { validate(); return delegate; } private InvalidatableSet( Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) { this.delegate = delegate; this.validator = validator; this.errorMessage = errorMessage; } // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
} @Override public void validate(Settings settings, SettingsProblemCollector problems) { validate(settings, false, problems); } @Override public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) { List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/batch-job-common-types.go
var tmp jobKV err := val.Decode(&tmp) if err != nil { return err } *kv = BatchJobKV(tmp) kv.line, kv.col = val.Line, val.Column return nil } // Validate returns an error if key is empty func (kv BatchJobKV) Validate() error { if kv.Key == "" { return BatchJobYamlErr{ line: kv.line, col: kv.col, msg: "key can't be empty", } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
/** * Validate a model settings * * @deprecated since 4.0.0, use {@link org.apache.maven.internal.impl.DefaultSettingsValidator} instead */ @Deprecated(since = "4.0.0") public interface SettingsValidator { /** * Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
.github/workflows/cffconvert.yml
name: cffconvert on: push: paths: - CITATION.cff permissions: contents: read jobs: validate: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks name: "validate" runs-on: ubuntu-latest steps: - name: Check out a copy of the repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 1.3K bytes - Viewed (0)