Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,499 for starete (0.06 seconds)

  1. docs/ru/docs/history-design-future.md

    Во время разработки я также внес вклад в [**Starlette**](https://www.starlette.dev/), другую ключевую зависимость.
    
    ## Разработка { #development }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. docs/ru/docs/how-to/custom-request-and-route.md

    Именно этих двух компонентов — `scope` и `receive` — достаточно, чтобы создать новый экземпляр `Request`.
    
    Чтобы узнать больше о `Request`, см. [документацию Starlette о запросах](https://www.starlette.dev/requests/).
    
    ///
    
    Единственное, что делает по-другому функция, возвращённая `GzipRequest.get_route_handler`, — преобразует `Request` в `GzipRequest`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 665 bytes
    - Click Count (0)
  4. fastapi/middleware/__init__.py

    from starlette.middleware import Middleware as Middleware...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 58 bytes
    - Click Count (0)
  5. fastapi/middleware/trustedhost.py

    from starlette.middleware.trustedhost import (  # noqa
        TrustedHostMiddleware as TrustedHostMiddleware,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 109 bytes
    - Click Count (0)
  6. docs/en/docs/reference/middleware.md

    # Middleware
    
    There are several middlewares available provided by Starlette directly.
    
    Read more about them in the [FastAPI docs for Middleware](https://fastapi.tiangolo.com/advanced/middleware/).
    
    ::: fastapi.middleware.cors.CORSMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 11:54:23 GMT 2026
    - 845 bytes
    - Click Count (0)
  7. tests/test_form_default.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, Form
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[int | None, Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[int | None, Form()] = None,
        file: Annotated[bytes | None, File()] = None,
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 829 bytes
    - Click Count (0)
  8. docs_src/handling_errors/tutorial004_py310.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exceptions import RequestValidationError
    from fastapi.responses import PlainTextResponse
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def http_exception_handler(request, exc):
        return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 920 bytes
    - Click Count (0)
  9. docs_src/handling_errors/tutorial006_py310.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
    )
    from fastapi.exceptions import RequestValidationError
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * immediately accessed at the stable (maximum) rate.
       *
       * <p>The returned {@code RateLimiter} starts in a "cold" state (i.e. the warmup period will
       * follow), and if it is left unused for long enough, it will return to that state.
       *
       * @param permitsPerSecond the rate of the returned {@code RateLimiter}, measured in how many
       *     permits become available per second
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
Back to Top