You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adit Soni
1a3936b377
Updated http.py: Fixed response status code in case of missing auth creds
Replaced 403 status code with 401 ; as 403 represents correct authentication but incorrect authorization.
And the cases here are about missing creds in auth headers so 401 makes more sense.
The response body is displaying the correct message but the response status code was 403.
2 months ago
..
dependencies
🐛 Fix `convert_underscores=False` for header Pydantic models (#13515)
4 months ago
middleware
✨ Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)
2 years ago
openapi
⬆️ Update ReDoc to version 2.x (#9700)
3 months ago
security
Updated http.py: Fixed response status code in case of missing auth creds
2 months ago
__init__.py
🔖 Release version 0.115.12
4 months ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
12 months ago
_compat.py
♻️ Update tests and internals for compatibility with Pydantic >=2.10 (#12971)
8 months ago
applications.py
🎨 Fix typing annotation for semi-internal `FastAPI.add_api_route()` (#10240)
11 months ago
background.py
♻️ Update mypy (#11049)
1 year ago
cli.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
12 months ago
concurrency.py
🐛 Preserve traceback when exception is raised in sync dependency with `yield` (#5823)
7 months ago
datastructures.py
♻️ Update mypy (#11049)
1 year ago
encoders.py
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` (#9929)
1 year ago
exception_handlers.py
✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030)
2 years ago
exceptions.py
♻️ Update mypy (#11049)
1 year ago
logger.py
🔊 Refactor logging (#781)
6 years ago
param_functions.py
📝 Fix minor typos (#12516)
9 months ago
params.py
♻️ Update internal checks to support Pydantic 2.10 (#12914)
8 months ago
py.typed
✨ add py.typed to ship typing information (#209)
6 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
5 years ago
responses.py
✨ Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392)
2 years ago
routing.py
⬆ Bump ruff to 0.9.4 (#13299)
4 months ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
types.py
🔥 Remove unused NoneType (#10774)
2 years ago
utils.py
♻️ Rename internal `create_response_field()` to `create_model_field()` as it's used for more than response models (#12103)
11 months ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
3 years ago