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.3.tar.gz
.
File metadata
- Download URL: thumbor-icon-handler-0.0.3.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 | e65bd28bc662010257dce9fecc327564901367eb7cc54fca127832610768ceca |
|
MD5 | 7188c064e6d97c8580644e23e91455d4 |
|
BLAKE2b-256 | 8a8a3c1349b2054dd45b9635517e91d84a4e9277130af69635dd5722e99b527c |
File details
Details for the file thumbor_icon_handler-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: thumbor_icon_handler-0.0.3-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 | 081c1bba3f4915d803175c66bd8bdf4c453bbb9d1d3f6b41cc7b9ff21d7f88f4 |
|
MD5 | 3fc00604089090a545679fbaa09d04e7 |
|
BLAKE2b-256 | 0b2d80418e8a845c7c89b399865ab4d9e445c9cf541f7d412ed14bc99570c7c8 |