Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 714 for Tenders (0.03 sec)

  1. tests/test_security_openid_connect_optional.py

    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "Bearer footokenbar"}
    
    
    def test_security_oauth2_password_other_header():
        response = client.get("/users/me", headers={"Authorization": "Other footokenbar"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_password_bearer_optional_description.py

    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Notexistent testtoken"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. internal/bucket/encryption/bucket-sse-config.go

    }
    
    // Apply applies the SSE bucket configuration on the given HTTP headers and
    // sets the specified SSE headers.
    //
    // Apply does not overwrite any existing SSE headers. Further, it will
    // set minimal SSE-KMS headers if autoEncrypt is true and the BucketSSEConfig
    // is nil.
    func (b *BucketSSEConfig) Apply(headers http.Header, opts ApplyOptions) {
    	if crypto.Requested(headers) {
    		return
    	}
    	if b == nil {
    		if opts.AutoEncrypt {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted
    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/cors.md

    * `allow_headers` - A list of HTTP request headers that should be supported for cross-origin requests. Defaults to `[]`. You can use `['*']` to allow all headers. The `Accept`, `Accept-Language`, `Content-Language` and `Content-Type` headers are always allowed for <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests" class="external-link" rel="noopener" target="_blank">simple...
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. docs/zh-hant/llm-prompt.md

    ### Preferred translations / glossary
    
    1. Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
    2. For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
    3. Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 請求
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

        val response = readHttp2HeadersList(headerBlock, Protocol.HTTP_2).request(request).build()
        val headers = response.headers
        assertThat(headers.size).isEqualTo(1)
        assertThat(headers.name(0)).isEqualTo(":version")
        assertThat(headers.value(0)).isEqualTo("HTTP/1.1")
      }
    
      @Test fun http2HeadersListDropsForbiddenHeadersHttp2() {
        val request =
          Request
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java

         * should be set up as very last thing before using resolver session, that is built by invoking
         * {@link SessionBuilder#build()} method.
         *
         * @param request The maven execution request, must not be {@code null}.
         * @return The session builder "ready to use" without workspace readers.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_request_param_model_by_alias.py

        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_header_model_with_alias():
        client = TestClient(app)
        response = client.get("/header", headers={"param_alias": "value"})
        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_cookie_model_with_alias():
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          private fun evictToRecoverBytes(bytesToRecover: Int): Int {
            var bytesToRecover = bytesToRecover
            var entriesToEvict = 0
            if (bytesToRecover > 0) {
              // determine how many headers need to be evicted.
              var j = dynamicTable.size - 1
              while (j >= nextHeaderIndex && bytesToRecover > 0) {
                val toEvict = dynamicTable[j]!!
                bytesToRecover -= toEvict.hpackSize
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top