Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 863 for Headers (0.05 seconds)

  1. internal/crypto/sse_test.go

    	}
    }
    
    var ssecUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    	Bucket, Object string
    	Metadata       map[string]string
    
    	ExpectedErr error
    }{
    	{ // 0 - Valid HTTP headers and valid metadata entries for bucket/object
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  2. cmd/encryption-v1_test.go

    					i, o, l, skip, sn, ps, oRef, lRef, skipRef, snRef, psRef)
    			}
    		}
    	}
    }
    
    var getDefaultOptsTests = []struct {
    	headers        http.Header
    	copySource     bool
    	metadata       map[string]string
    	encryptionType encrypt.Type
    	err            error
    }{
    	{
    		headers: http.Header{
    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: []string{"AES256"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  3. cmd/object-api-options.go

    )
    
    func getDefaultOpts(header http.Header, copySource bool, metadata map[string]string) (opts ObjectOptions, err error) {
    	var clientKey [32]byte
    	var sse encrypt.ServerSide
    
    	opts = ObjectOptions{UserDefined: metadata}
    	if v, ok := header[xhttp.MinIOSourceProxyRequest]; ok {
    		opts.ProxyHeaderSet = true
    		opts.ProxyRequest = strings.Join(v, "") == "true"
    	}
    	if _, ok := header[xhttp.MinIOSourceReplicationRequest]; ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/cors/CorsHandler.java

        /**
         * CORS header for specifying allowed headers.
         */
        protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
        /**
         * CORS header for specifying allowed HTTP methods.
         */
        protected static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
    
        /**
         * CORS header for allowing private network access.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.toString()).isEqualTo(header)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseIgnoreCacheControlExtensions() {
        // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6
        val header = "private, community=\"UCI\""
        val cacheControl =
          parse(
            Headers
              .Builder()
              .set("Cache-Control", header)
              .build(),
          )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. docs_src/response_headers/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 222 bytes
    - Click Count (0)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                  println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                  request.read(ByteBuffer.allocateDirect(4096 * 8))
                }
    
                override fun onReadCompleted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  byteBuffer: ByteBuffer,
                ) {
                  println("onReadCompleted ${info.headers.asMap}")
                  byteBuffer.flip()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. tests/test_include_router_defaults_overrides.py

        assert response.json() == "foo"
        assert response.headers["content-type"] == "application/x-level-1"
        assert "x-level0" in response.headers
        assert "x-level1" in response.headers
        assert "x-level2" not in response.headers
        assert "x-level3" not in response.headers
        assert "x-level4" not in response.headers
        assert "x-level5" not in response.headers
    
    
    def test_level1_default():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Click Count (0)
  9. tests/test_request_param_model_by_alias.py

    from fastapi import Cookie, FastAPI, Header, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        param: str = Field(alias="param_alias")
    
    
    @app.get("/query")
    async def query_model(data: Model = Query()):
        return {"param": data.param}
    
    
    @app.get("/header")
    async def header_model(data: Model = Header()):
        return {"param": data.param}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_security_http_digest_optional.py

        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Digest", "credentials": "foobar"}
    
    
    def test_security_http_digest_no_credentials():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Feb 27 12:29:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top