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

Uploader file parse params before file body #904

Closed
borikinternet opened this issue Sep 21, 2017 · 1 comment
Closed

Uploader file parse params before file body #904

borikinternet opened this issue Sep 21, 2017 · 1 comment
Milestone

Comments

@borikinternet
Copy link
Contributor

borikinternet commented Sep 21, 2017

This is not a bug, but some inconvenience

I'm using openresty (nginx based distro) to serve my backend. And I need to upload a very big files to database. Quickest way for me is to parse them in process of uploading. I do a POST request with Uploader and attach array of parse params: table to which content of file must be inserted and delimiter.

On the backend side I do reed() of chunks and try to split it with delimeter and insert them to database, but... delimiter param came to me in later chunks :( I need to recieve all file and only after this I recieve paramse for its parsing. Its a bad way...

I'll add a pull request for fix this issue shortly

@rstoenescu
Copy link
Member

Available in edge and future v0.14.4.
Thanks for also providing a PR!

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

No branches or pull requests

2 participants