-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Empty Content-Type when using attach_file #1236
Comments
So I've traced this issue down to the |
Yeah, mime-types is not going to be perfect, unfortunately. |
I just came across the same problem today. Trying to upload an .ics file via Any idea, why |
@phansch I'm not sure, in my case the file type was completely missing in the mime-types, but seems you're having a different issue. |
Sorry to comment here on something that's clearly not capybara's problem, but this is the only place I've found anyone else that has run into this. Is there a workaround? Registering the new mime-type with |
When I attach a file via
attach_file
and then check the content type in the file in the params, it's empty.However if I upload the same file in the same form manually and check the same way, I'll get a proper content type.
The text was updated successfully, but these errors were encountered: