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

allow optional HEADERS when uploading files #39

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

Conversation

umlaeute
Copy link

this allows one to override a given mime-type.
e.g. using header={'content-type': 'application/pgp-signature'} allows one
to upload a plain-text signature file with the proper mimetype.

this is important if some WebDAV servers handle files differently based on
the mimetype (e.g. plone)

this allows one to override a given mime-type.
e.g. using header={'content-type': 'application/pgp-signature'} allows one
to upload a plain-text signature file with the proper mimetype.

this is important if some WebDAV servers handle files differently based on
the mimetype (e.g. plone)
@umlaeute
Copy link
Author

btw, #25 is a more complete approach to the same problem.

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.

1 participant