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 koa v1? / Multipart: Boundary not found #2

Closed
mezod opened this issue Jan 6, 2017 · 2 comments
Closed

support koa v1? / Multipart: Boundary not found #2

mezod opened this issue Jan 6, 2017 · 2 comments

Comments

@mezod
Copy link

mezod commented Jan 6, 2017

I see that the example in the docs is the example of koa-router for koa 2.x, so I wonder, does this middleware also work for koa 1.x?

I have tried it and I'm getting 'Error: Multipart: Boundary not found'. So I'm wondering if it's just that it doesn't support koa 1.x or something else. Thanks

@mezod
Copy link
Author

mezod commented Jan 6, 2017

Yep, it does.

For anyone stumbling upon this issue, my problem was that I was setting the content-type header manually in Postman and you don't have to.

@mezod mezod closed this as completed Jan 6, 2017
@hirako2000
Copy link
Owner

I had not tested with koa1, so I wasn't guaranting things would play well with it.
Good to know it works and that it addresses your Multipart support.

Thanks

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