Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 885 for headKey (0.07 sec)

  1. internal/bucket/object/lock/lock.go

    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    	if _, ok := h[AmzObjectLockRetainUntilDate]; ok {
    		return true
    	}
    	return false
    }
    
    // IsObjectLockLegalHoldRequested returns true if object lock legal hold header is set.
    func IsObjectLockLegalHoldRequested(h http.Header) bool {
    	_, ok := h[AmzObjectLockLegalHold]
    	return ok
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. docs_src/header_params/tutorial001.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Union[str, None] = Header(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 214 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          if (CONNECTION_PREFACE != connectionPreface) {
            throw IOException("Expected a connection header but was ${connectionPreface.utf8()}")
          }
        }
      }
    
      @Throws(IOException::class)
      fun nextFrame(
        requireSettings: Boolean,
        handler: Handler,
      ): Boolean {
        try {
          source.require(9) // Frame header size.
        } catch (e: EOFException) {
          return false // This might be a normal socket close.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. docs_src/header_params/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Union[list[str], None] = Header(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 218 bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        ImmutableSortedSet<E> set = headSet(e, true);
        return !set.isEmpty() ? set.last() : null;
      }
    
      public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
        checkNotNull(toElement);
        if (inclusive) {
          E tmp = higher(toElement);
          if (tmp == null) {
            return this;
          }
          toElement = tmp;
        }
        return headSet(toElement);
      }
    
      public E last() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. docs_src/header_param_models/tutorial002_an.py

    from typing import List, Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 486 bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		// Validate the SSE-C Key set in the header.
    		if _, err = crypto.SSEC.UnsealObjectKey(r.Header, objInfo.UserDefined, bucket, object); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		w.Header().Set(xhttp.AmzServerSideEncryptionCustomerAlgorithm, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. src/packaging/rpm/packaging.properties

    packaging.env.file=/etc/sysconfig/fess
    
    # Default configuration directory and file to use in bin/plugin script
    
    # Simple marker to check that properties are correctly overridden
    packaging.type=rpm
    
    # Custom header for package scripts
    packaging.scripts.header=
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 420 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
        peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders)
        val expectedResponseHeaders =
          listOf(
            Header(Header.RESPONSE_STATUS, "200"),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  10. cmd/metacache-entries.go

    	for i, eVer := range eVers.versions {
    		oVer := oVers.versions[i]
    		if eVer.header != oVer.header {
    			if eVer.header.hasEC() != oVer.header.hasEC() {
    				// One version has EC and the other doesn't - may have been written later.
    				// Compare without considering EC.
    				a, b := eVer.header, oVer.header
    				a.EcN, a.EcM = 0, 0
    				b.EcN, b.EcM = 0, 0
    				if a == b {
    					continue
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top