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 MIME content type info to File #143

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jhnstrk
Copy link
Contributor

@jhnstrk jhnstrk commented Apr 30, 2024

Adds MIME type information as File.content_type as requested in issue #58.

Tests have been updated and a case-sensitive header issue was fixed too.

The part headers are also exposed as a dict, with keys as strings, lower-cased as File.headers.

Makes all headers lower case, fixing case sensitivity issues.
Exposes jheaders property in Files and Fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant