- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 797 for http (0.23 sec)
-
docs/em/docs/how-to/extending-openapi.md
### ๐ ๐ฉโ๐ฌ ๐ ๐ ๐ช โ `.openapi()` ๐ฉโ๐ฌ โฎ๏ธ ๐ ๐ ๐ข. ```Python hl_lines="28" {!../../../docs_src/extending_openapi/tutorial001.py!} ``` ### โ โซ๏ธ ๐ ๐ ๐ถ <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> ๐ ๐ ๐ ๐ ๐ โ๏ธ ๐ ๐ ๐ฑ (๐ ๐ผ, **FastAPI**'โ ๐ฑ):
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 2.7K bytes - Viewed (1) -
docs/ja/docs/tutorial/request-forms.md
ใใฉใผใ ใใใฎใใผใฟใฏ้ๅธธใ`application/x-www-form-urlencoded`ใฎใmedia typeใใไฝฟ็จใใฆใจใณใณใผใใใใพใใ ใใใใใใฉใผใ ใใใกใคใซใๅซใๅ ดๅใฏใ`multipart/form-data`ใจใใฆใจใณใณใผใใใใพใใใใกใคใซใฎๆฑใใซใคใใฆใฏๆฌกใฎ็ซ ใง่ชฌๆใใพใใ ใใใใฎใจใณใณใผใใฃใณใฐใใใฉใผใ ใใฃใผใซใใฎ่ฉณ็ดฐใซใคใใฆใฏใ<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr>ใฎ<code>POST</code></a>ใฎใฆใงใใใญใฅใกใณใใๅ็ งใใฆใใ ใใใ !!! warning "ๆณจๆ"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 3.3K bytes - Viewed (0) -
docs_src/security/tutorial004.py
return encoded_jwt async def get_current_user(token: str = Depends(oauth2_scheme)): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0) -
docs_src/security/tutorial004_an.py
return encoded_jwt async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/middleware.md
```Python hl_lines="8-9 11 14" {!../../../docs_src/middleware/tutorial001.py!} ``` !!! tip "่ฑ็ฅ่ญ" <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">'X-'ใใฌใใฃใใฏในใไฝฟ็จ</a>ใใฆใซในใฟใ ใฎ็ฌ่ชใใใใผใ่ฟฝๅ ใงใใพใใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 3.8K bytes - Viewed (0) -
docs_src/middleware/tutorial001.py
import time from fastapi import FastAPI, Request app = FastAPI() @app.middleware("http") async def add_process_time_header(request: Request, call_next): start_time = time.time() response = await call_next(request) process_time = time.time() - start_time response.headers["X-Process-Time"] = str(process_time)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 349 bytes - Viewed (0) -
docs/en/docs/reference/request.md
You can import it directly from `fastapi`: ```python from fastapi import Request ``` !!! tip When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 516 bytes - Viewed (0) -
docs_src/handling_errors/tutorial005.py
app = FastAPI() @app.exception_handler(RequestValidationError) async def validation_exception_handler(request: Request, exc: RequestValidationError): return JSONResponse( status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}), ) class Item(BaseModel): title: str size: int @app.post("/items/")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 667 bytes - Viewed (0) -
docs/ko/docs/deployment/server-workers.md
์ ๋จ๊ณ์์์ ๋ฐฐํฌ ๊ฐ๋ ๋ค์ ๋ค์ ํ์ธํด๋ณด๊ฒ ์ต๋๋ค: * ๋ณด์ - HTTPS * ์๋ฒ ์์๊ณผ ๋์์ ์คํํ๊ธฐ * ์ฌ์์ * **๋ณต์ ๋ณธ (์คํ ์ค์ธ ํ๋ก์ธ์ค์ ์ซ์)** * ๋ฉ๋ชจ๋ฆฌ * ์์ํ๊ธฐ ์ ์ ์ฌ๋ฌ ๋จ๊ณ๋ค ์ง๊ธ๊น์ง ๋ฌธ์์ ๋ชจ๋ ํํ ๋ฆฌ์ผ์ ์ฐธ๊ณ ํ์ฌ **๋จ์ผ ํ๋ก์ธ์ค**๋ก Uvicorn๊ณผ ๊ฐ์ **์๋ฒ ํ๋ก๊ทธ๋จ**์ ์คํํ์ ๊ฒ์ ๋๋ค. ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ฐฐํฌํ ๋ **๋ค์ค ์ฝ์ด**๋ฅผ ํ์ฉํ๊ณ ๋ ๋ง์ ์์ฒญ์ ์ฒ๋ฆฌํ ์ ์๋๋ก **ํ๋ก์ธ์ค ๋ณต์ ๋ณธ**์ด ํ์ํฉ๋๋ค. ์ ๊ณผ์ ์ด์๋ [๋ฐฐํฌ ๊ฐ๋ ๋ค](concepts.md){.internal-link target=_blank}์์ ๋ณธ ๊ฒ์ฒ๋ผ ์ฌ๋ฌ๊ฐ์ง ๋ฐฉ๋ฒ์ด ์กด์ฌํฉ๋๋ค.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial011.py!} ``` Ce qui fait qu'avec une URL comme : ``` http://localhost:8000/items/?q=foo&q=bar ``` vous recevriez les valeurs des multiples paramรจtres de requรชte `q` (`foo` et `bar`) dans une `list` Python au sein de votre fonction de **path operation**, dans le paramรจtre de fonction `q`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:53:21 GMT 2023 - 9.8K bytes - Viewed (0)