Return HTTP code 413 when uploading an avatar/header that's too large #367

Merged
floatingghost merged 3 commits from norm/akkoma:return-413-max-size into develop 2022-12-14 10:07:24 +00:00
Showing only changes of commit 8104f46031 - Show all commits

View file

@ -6,11 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased
## Removed
### Removed
- Non-finch HTTP adapters
## Upgrade notes
### Upgrade notes
- Ensure `config :tesla, :adapter` is either unset, or set to `{Tesla.Adapter.Finch, name: MyFinch}` in your .exs config
### Changed
- Return HTTP error 413 when uploading an avatar or banner that's above the configured upload limit instead of a 500.
## 2022.12