Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for noStore (0.28 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

        .Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl =
      CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
        sMaxAgeSeconds = -1,
        isPrivate = false,
        isPublic = false,
        mustRevalidate = false,
        maxStaleSeconds = maxStaleSeconds,
        minFreshSeconds = minFreshSeconds,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache
        val noStore: Boolean = cacheControl.noStore
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds
        val mustRevalidate: Boolean = cacheControl.mustRevalidate
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. okhttp/api/jvm/okhttp.api

    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    	public fun toString ()Ljava/lang/String;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  5. okhttp/api/android/okhttp.api

    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    	public fun toString ()Ljava/lang/String;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              return false
            }
          }
    
          // A 'no-store' directive on request or response prevents the response from being cached.
          return !response.cacheControl.noStore && !request.cacheControl.noStore
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .body("B")
            .build(),
        )
        val request1 =
          Request
            .Builder()
            .url(server.url("/"))
            .cacheControl(CacheControl.Builder().noStore().build())
            .build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("A")
        val request2 =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/security/simple-oauth2.md

    Si vous avez besoin de l'imposer, utilisez `OAuth2PasswordRequestFormStrict` au lieu de `OAuth2PasswordRequestForm`.
    
    ///
    
    * Un `client_id` optionnel (nous n'en avons pas besoin pour notre exemple).
    * Un `client_secret` optionnel (nous n'en avons pas besoin pour notre exemple).
    
    /// info
    
    La classe `OAuth2PasswordRequestForm` n'est pas une classe spéciale pour **FastAPI** comme l'est `OAuth2PasswordBearer`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/security/first-steps.md

    - L'utilisateur saisit le `username` et le `password` dans le frontend, puis appuie sur Entrée.
    - Le frontend (exécuté dans le navigateur de l'utilisateur) envoie ce `username` et ce `password` vers une URL spécifique de notre API (déclarée avec `tokenUrl="token"`).
    - L'API vérifie ce `username` et ce `password`, et répond avec un « token » (nous n'avons encore rien implémenté de tout cela).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Récupérer l'utilisateur { #get-the-user }
    
    `get_current_user` utilisera une fonction utilitaire (factice) que nous avons créée, qui prend un token en `str` et retourne notre modèle Pydantic `User` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top