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 file upload does not work on iOS #88

Open
ologon opened this issue Oct 13, 2021 · 2 comments
Open

Multipart file upload does not work on iOS #88

ologon opened this issue Oct 13, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@ologon
Copy link

ologon commented Oct 13, 2021

First of all thanks for the great library!

I'm encountering issues with file uploading on iOS, using the latest repository here on github.
Specifically, the sample for file uploading (with "/mime" routing) in Criollo/Apps/Criollo iOS App does not appear to work correctly: when the form is submitted, the POST request.body and request.files are always empty. Form types other than multipart seems to work fine (but of course file uploads are not possible)

I am testing from a mac with Safari & Firefox connecting to Criollo server on iOS. (Haven't tested if it works the other way around)

@thecatalinstan
Copy link
Owner

Hi @ologon ,

Sounds weird, thanks for pointing it out. I'll look into it. I hope I didn't break it :)

Would be interesting to know if it's only an iOS thing.

Thanks for trying Criollo!

Best,
Catalin

@ologon
Copy link
Author

ologon commented Oct 14, 2021

@thecatalinstan

Thank you!

Would be interesting to know if it's only an iOS thing.

I've tried running the Criollo server on osx and had the same issue, so it looks like it's not specific to iOS.

EDIT: After a bit of further testing, apparently the latest pod release (1.0.1) does not have this issue, so it only happens with the latest code (The reason I'm using the master branch is that openSSL gave me troubles building for the iOS simulator on my M1 mac, and the latest criollo does not depend on it)

@thecatalinstan thecatalinstan self-assigned this Dec 5, 2021
@thecatalinstan thecatalinstan added this to the 2.0.0 milestone Dec 5, 2021
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

2 participants