Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for directive (0.72 sec)

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

          }
    
          when {
            "no-cache".equals(directive, ignoreCase = true) -> {
              noCache = true
            }
            "no-store".equals(directive, ignoreCase = true) -> {
              noStore = true
            }
            "max-age".equals(directive, ignoreCase = true) -> {
              maxAgeSeconds = parameter.toNonNegativeInt(-1)
            }
            "s-maxage".equals(directive, ignoreCase = true) -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. internal/config/browser/browser.go

    }
    
    // IsHSTSIncludeSubdomains - is HSTS 'includeSubdomains' directive enabled
    func (browseCfg *Config) IsHSTSIncludeSubdomains() string {
    	configLock.RLock()
    	defer configLock.RUnlock()
    	if browseCfg.HSTSSeconds > 0 && browseCfg.HSTSIncludeSubdomains {
    		return config.EnableOn
    	}
    	return config.EnableOff
    }
    
    // IsHSTSPreload - is HSTS 'preload' directive enabled
    func (browseCfg *Config) IsHSTSPreload() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. doc/next/3-tools.md

    analyzer, which flags references to symbols that are too new for the version
    of Go in effect in the referring file. (The effective version is determined
    by the `go` directive in the file's enclosing `go.mod` file, and
    by any [`//go:build` constraints](https://pkg.go.dev/cmd/go#hdr-Build_constraints)
    in the file.)
    
    For example, it will report a diagnostic for a reference to the
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri May 03 01:02:40 GMT 2024
    - 977 bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder().noCache().build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
     * efficient `max-age=0` directive instead:
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. doc/godebug.md

    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    Continuing the `panicnil` example, if the module or workspace is updated
    to say `go` `1.21`, the program can opt back into the old `panic(nil)`
    behavior by including this directive:
    
    	//go:debug panicnil=1
    
    Starting in Go 1.21, the Go toolchain treats a `//go:debug` directive
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	// Storage class is special, it can be replaced regardless of the
    	// metadata directive, if set should be preserved and replaced
    	// to the destination metadata.
    	sc := r.Header.Get(xhttp.AmzStorageClass)
    	if sc == "" {
    		sc = r.Form.Get(xhttp.AmzStorageClass)
    	}
    
    	// if x-amz-metadata-directive says REPLACE then
    	// we extract metadata from the input headers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

                return false
              }
            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
          // A 'no-store' directive on request or response prevents the response from being cached.
          return !response.cacheControl.noStore && !request.cacheControl.noStore
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMetadataDirective: {
    		Code:           "InvalidArgument",
    		Description:    "Unknown metadata directive.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidStorageClass: {
    		Code:           "InvalidStorageClass",
    		Description:    "Invalid storage class.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. .space/CODEOWNERS

    # Check-out https://www.jetbrains.com/help/space/code-owners.html#codeowners-file-syntax
    # This file is checked by org.jetbrains.kotlin.code.SpaceCodeOwnersTest
    # Directive OWNER_LIST specifies possible values for owner field
    # Directive UNKNOWN specifies that path is unclaimed
    # Ownership must be exhaustive modulo UNKNOWN
    
    # OWNER_LIST: Kotlin
    # OWNER_LIST: "Kotlin Libraries"
    # OWNER_LIST: "Kotlin JVM" "Kotlin Native" "Kotlin Wasm" "Kotlin Common Backend"
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top