Use notifications_utils.file_types.mime_type_from_extension#439
Merged
Conversation
## 115.3.0 Add `file_types.mime_type_from_extension` ## 115.2.0 * Add file of known email domains and a function for checking the ending of an email address ## 115.1.0 * `RedisClient`: detect "read-only" errors & drop idle connections. These errors are probably a sign of a failover event, and our connection pool probably has stale connections to the "wrong" redis instance. ## 115.0.2 * Make date printed on templated letters aware of British Summer Time *** Complete changes: alphagov/notifications-utils@115.0.1...115.3.0
3bdefb9 to
5c54802
Compare
This means updating the cache keys because we are generating them based on `pdf` rather than `.pdf` now
5c54802 to
8ebc03d
Compare
BlessedDev
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For consistency with alphagov/notifications-admin#5932
Depends on:
file_types.mime_type_from_extensionnotifications-utils#1357