Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,075 for lere (0.05 seconds)

  1. docs_src/custom_response/tutorial002_py310.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=HTMLResponse)
    async def read_items():
        return """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 352 bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
        // Nothing to do here.
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Primitives.java

      // It's a constant, and we can't use ImmutableMap here without creating a circular dependency.
      @SuppressWarnings("ConstantCaseForConstants")
      private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
    
      /** A map from wrapper types to their corresponding primitive types. */
      // It's a constant, and we can't use ImmutableMap here without creating a circular dependency.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/simple-oauth2.md

    Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
    In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
    You can actually skip that extra header and it would still work.
    
    But it's provided here to be compliant with the specifications.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Flag representing parser processing result: if there were some fatal errors during
         * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker should
         * handle this request as "early failure". In these cases, {@link #options()} usually is absent.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. internal/http/server.go

    	httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes
    	return httpServer
    }
    
    // SetMinIOVersion -- MinIO version from the main package is set here
    func SetMinIOVersion(version string) {
    	GlobalMinIOVersion = version
    }
    
    // SetDeploymentID -- Deployment Id from the main package is set here
    func SetDeploymentID(deploymentID string) {
    	GlobalDeploymentID = deploymentID
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/MoreCollectors.java

        return (Collector) ONLY_ELEMENT;
      }
    
      /**
       * This atrocity is here to let us report several of the elements in the stream if there were more
       * than one, not just two.
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class ToOptionalState<T extends @Nullable Object> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. docs/fr/docs/how-to/custom-request-and-route.md

    Dans certains cas, vous pouvez vouloir surcharger la logique utilisée par les classes `Request` et `APIRoute`.
    
    En particulier, cela peut être une bonne alternative à une logique dans un middleware.
    
    Par exemple, si vous voulez lire ou manipuler le corps de la requête avant qu'il ne soit traité par votre application.
    
    /// danger | Danger
    
    Ceci est une fonctionnalité « avancée ».
    
    Si vous débutez avec **FastAPI**, vous pouvez ignorer cette section.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs/es/docs/how-to/custom-request-and-route.md

    En algunos casos, puede que quieras sobrescribir la lógica utilizada por las clases `Request` y `APIRoute`.
    
    En particular, esta puede ser una buena alternativa a la lógica en un middleware.
    
    Por ejemplo, si quieres leer o manipular el request body antes de que sea procesado por tu aplicación.
    
    /// danger | Advertencia
    
    Esta es una funcionalidad "avanzada".
    
    Si apenas estás comenzando con **FastAPI**, quizás quieras saltar esta sección.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top