sprockets.mixins.mediatype/sprockets/mixins/mediatype
Dave Shawley 9ff5ca3781
Fail gracefully when transcoder is missing.
If there is no transcoder for the default content type, sending a
response would fail with a "500 Internal Server Error" due to an
*unhandled* KeyError.  This commit catches the KeyError and produces
an explicit "500 Internal Server Error" with an appropriate error
message being logged.
2021-10-03 15:52:48 -04:00
..
__init__.py Reformat using yapf. 2021-09-19 09:58:08 -04:00
content.py Fail gracefully when transcoder is missing. 2021-10-03 15:52:48 -04:00
handlers.py Documentation updates for typing. 2021-10-03 15:52:47 -04:00
py.typed Add type annotations. 2021-10-03 15:52:43 -04:00
transcoders.py Documentation updates for typing. 2021-10-03 15:52:47 -04:00
type_info.py Add type annotations. 2021-10-03 15:52:43 -04:00