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

multipart/form-data implementation #1

Closed
mission-liao opened this issue Aug 29, 2014 · 1 comment
Closed

multipart/form-data implementation #1

mission-liao opened this issue Aug 29, 2014 · 1 comment
Assignees
Labels

Comments

@mission-liao
Copy link
Member

Tend to provide an implementation. However, the encoding spec of filename, field name with non-ASCII chars is really a mess.

At first, I think the right way is to apply RFC2047, but it states this algorithm can't apply on a "a MIME Content-Type or Content-Disposition field". Then the second spec I found is RFC2231. And I plan to do it until I finally found another SO question.

In short, they suggested to send those names, attributes in utf-8, which is not official but supported by most major web servers, because almost all browsers did this part in this way...

After all this survey, now I feel ready for multipart/form-data.
https://github.com/AntXlab/pyswagger/labels

@mission-liao mission-liao self-assigned this Aug 29, 2014
@mission-liao
Copy link
Member Author

resolved in mission-liao/pyswagger@ 2c9e4ea

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

No branches or pull requests

1 participant