Description
Redistributes the removed standard-library imghdr module for legacy Python code that still detects simple image file types. It helps older applications continue running on newer Python versions while they migrate to maintained alternatives.
This is a compatibility library. File-type detection from headers is limited, so applications handling user uploads should still validate content, size, and allowed formats with stronger checks.