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

Support file upload with application/x-www-form-urlencoded #286

Open
fredbi opened this issue Jan 4, 2024 · 0 comments
Open

Support file upload with application/x-www-form-urlencoded #286

fredbi opened this issue Jan 4, 2024 · 0 comments

Comments

@fredbi
Copy link
Member

fredbi commented Jan 4, 2024

Currently, the client can use a File reader to upload files with Content-Type multipart/form-data.

However, the swagger 2.0 spec states that files could also be uploaded as application/x-www-form-urlencoded.
This is not the recommended way, because this does not support streaming. However, it is formally supported by the spec...

See also go-swagger/go-swagger#2773

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

No branches or pull requests

1 participant