Thumbor add serve request for favicon.ico handler.
Project description
thumbor-icon-handler
A thumbor handler for serve favicon.icon request
Installation
pip install thumbor-icon-handler
Contribution
You can make a pull requests HERE, thank you for your contribution.
# Configuration
HANDLER_LISTS settings
HANDLER_LISTS = [ 'thumbor.handler_lists.healthcheck', 'thumbor.handler_lists.upload', 'thumbor.handler_lists.blacklist', # Add this config 'thumbor_icon_handler.icon', ]
Optionally specify a local favicon.ico file
You can use the favicon.ico file in the local file system, or you can ignore this configuration item and use the favicon.ico file in the Loader
# specify your local filesystem favicon.ico file full path # for example /srv/file/favicon.ico ICON_IMAGE_LOCAL_PATH = ''
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file thumbor-icon-handler-0.0.2.tar.gz
.
File metadata
- Download URL: thumbor-icon-handler-0.0.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14c2fd8281897560c498b38cb0ea8b4f651e50c5351b0e33aafa0ec3e688bc7 |
|
MD5 | 9b920aab1c689d605aefc864f3f14907 |
|
BLAKE2b-256 | 0100a45cef9c2a21fa9e1fce44d48ca2edd0621ce53a4e66020d0d6a8e0d226f |
File details
Details for the file thumbor_icon_handler-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: thumbor_icon_handler-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7798c8b2d3772243e7a3d1a001eff6ee1335045b2bba41ac24db806fb2a9915d |
|
MD5 | ed4c17d48b6e8537fc513ecd07bd0d2a |
|
BLAKE2b-256 | f18d6c9537d19a7167003c308dd939a4e61a4654f4e38a0ac5836b52382e6d24 |