Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,778 for requer (0.04 seconds)

  1. docs/es/docs/tutorial/middleware.md

    Un "middleware" es una función que trabaja con cada **request** antes de que sea procesada por cualquier *path operation* específica. Y también con cada **response** antes de devolverla.
    
    * Toma cada **request** que llega a tu aplicación.
    * Puede entonces hacer algo a esa **request** o ejecutar cualquier código necesario.
    * Luego pasa la **request** para que sea procesada por el resto de la aplicación (por alguna *path operation*).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                return response.request
                  .newBuilder()
                  .header("Authorization", credential)
                  .build()
              }
            },
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

        }
    
        /**
         * Method read.
         *
         * @param reader a reader object.
         * @param strict a strict object.
         * @return Metadata
         * @throws IOException            IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         *                                any.
         */
        public Metadata read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  4. fastapi/security/api_key.py

            )
    
        async def __call__(self, request: Request) -> Optional[str]:
            api_key = request.query_params.get(self.model.name)
            return self.check_api_key(api_key)
    
    
    class APIKeyHeader(APIKeyBase):
        """
        API key authentication using a header.
    
        This defines the name of the header that should be provided in the request with
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            // When
            MsrpcEnumerateAliasesInDomain request = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray);
    
            // Then
            assertNotNull(request, "The request object should not be null.");
            assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly.");
            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. .github/workflows/update-jdks.yml

                @dev-productivity
          - name: Trigger a build
            uses: peter-evans/create-or-update-comment@v5
            if: ${{ steps.create-pull-request.outputs.pull-request-number }}
            with:
              issue-number: ${{ steps.create-pull-request.outputs.pull-request-number }}
              body: |
                @bot-gradle test ReadyForNightly
                ```
                stopGradleDaemons=true
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. cmd/http-tracer.go

    	return op
    }
    
    // If trace is enabled, execute the request if it is traced by other handlers
    // otherwise, generate a trace event with request information but no response.
    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  10. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top