Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Specify `filename` and `content_type` headers through `Part` annotation #178
Comments
You can pass it if you use the Part as a tuple (at least with request as backend) like:
a new implementation should not break that behavior (at least without providing a workaround) because there are APIs that expect a meaningful filename. |
Is your feature request related to a problem? Please describe.
Related to a problem surfaced by @Shanoir on Gitter.
Describe the solution you'd like
I think that it would be a good idea for us to let users set the filename and content-type headers through the Part annotation. Maybe like so: