Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 714 for Tenders (0.05 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            result.addAll(stories)
          }
          return result
        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      return millis.toInt()
    }
    
    internal fun List<Header>.toHeaders(): Headers {
      val builder = Headers.Builder()
      for ((name, value) in this) {
        builder.addLenient(name.utf8(), value.utf8())
      }
      return builder.build()
    }
    
    internal fun Headers.toHeaderList(): List<Header> =
      (0 until size).map {
        Header(name(it), value(it))
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  3. cmd/object-api-options.go

    }
    
    // get ObjectOptions for Copy calls with encryption headers provided on the target side and source side metadata
    func copyDstOpts(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    	return putOptsFromReq(ctx, r, bucket, object, metadata)
    }
    
    // get ObjectOptions for Copy calls with encryption headers provided on the source side
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. fastapi/exception_handlers.py

    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
            {"detail": exc.detail}, status_code=exc.status_code, headers=headers
        )
    
    
    async def request_validation_exception_handler(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 16 17:21:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_authorization_code_bearer.py

    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Non-existent testtoken"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer 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.3K bytes
    - Viewed (0)
  6. tests/test_custom_swagger_ui_redirect.py

    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "swagger-ui-dist" in response.text
        print(client.base_url)
        assert (
            f"oauth2RedirectUrl: window.location.origin + '{swagger_ui_oauth2_redirect_url}'"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  7. docs/orchestration/docker-compose/nginx.conf

            server minio3:9001;
            server minio4:9001;
        }
    
        server {
            listen       9000;
            listen  [::]:9000;
            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Mar 05 06:32:39 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        )
    
        val call = client.newCall(Request(server.url("/")))
        call.execute().use { response ->
          assertThat(response.headers["Content-Length"]).isNull()
          assertThat(response.body.source().readUtf8()).isEqualTo("Hello")
          assertThat(response.trailers()).isEqualTo(Headers.EMPTY)
        }
      }
    
      @Test
      fun cancelWhileReadingTrailersHttp1() {
        cancelWhileReadingTrailers(Protocol.HTTP_1_1)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

        //                                                                      ==============
    
        /**
         * Handles the help page request and renders the help interface.
         * This method performs authentication checks and sets up the necessary
         * form parameters and rendering data for the help page display.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. 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():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
Back to top