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.
Thomas
6e0abe9459
🐛 Fix handling uploaded file data correctly when not in the first part of a multipart/form-data request body
The HTTP specification for multipart/form-data, defined in RFC 7578, allows both form data and uploaded files in a single request. It does not require files to be before or after form fields.
As such, no specific care is to be given to the first field.
References:
- [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578 )
- [FastAPI issue 9116](https://github.com/fastapi/fastapi/discussions/9116 )
Close #9116
4 weeks ago
..
dependencies
🐛 Fix handling uploaded file data correctly when not in the first part of a multipart/form-data request body
4 weeks 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
✨ Add `refreshUrl` parameter in `OAuth2PasswordBearer` (#11460)
1 month ago
__init__.py
🔖 Release version 0.115.13
1 month ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
12 months ago
_compat.py
🐛 Fix truncating the model's description with form feed (`\f`) character for Pydantic V2 (#13698)
1 month ago
applications.py
📝 Add annotations to HTTP middleware example (#11530)
1 month 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)
8 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
📝 Update exclude-parameters-from-openapi documentation links (#13600)
1 month 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