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

Handle file uploads? #52

Closed
antonvh opened this issue Feb 18, 2019 · 2 comments
Closed

Handle file uploads? #52

antonvh opened this issue Feb 18, 2019 · 2 comments

Comments

@antonvh
Copy link

antonvh commented Feb 18, 2019

From the readme and I can not deduce how to write a file upload handler with microwebsrv.

I currently use python3/tornado where I go:

class UploadHandler(tornado.web.RequestHandler):
    def post(self):
        if 'file_0' in self.request.files:

etc.

I want to move to micropython for this web app. How do I do that?

@jczic
Copy link
Owner

jczic commented Feb 28, 2019

Hi, no, MicroWebSrv doesn't integrate files POST with forms data for the moment.

@jczic jczic closed this as completed Mar 15, 2019
@jczic
Copy link
Owner

jczic commented Oct 20, 2019 via email

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