Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getExtension() method - helps with uploaded file renaming #336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

igorsantos07
Copy link

Supersedes #143. This is even important with v3/v4, since original_info['format'] got removed with no clear replacement.

We also got a 3.7 version of this function; in case there's any interest on backporting, I can create another PR with that :)

Supersedes mostly ignored claviska#143. More important with the newer versions, since `original_info['format']` got removed with no clear replacement.
@johndodev
Copy link

+1, was about to propose same functionnality.
I suggest to name it "guessExtension" instead of get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants