-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move HTTP::Multipart to MIME::Multipart #7085
Move HTTP::Multipart to MIME::Multipart #7085
Conversation
cc338fd
to
67c46f1
Compare
I'd never expect MIME::FormData. I'd expect HTTP::FormData. |
@ysbaddaden Yep, agree, it's kind of subjective. I have started working on crystal projects lately and wanted to start contributed somehow, so I went for a quick win based on an open issue. It's totally up for discussion if this should be merged as is or with amendments :) |
@straight-shoota Sure! That was my intention too. Sorry if the PR took some time from people to look at it. My intention was to have a PR ready (that's why I referenced it in the PR) if the issue discussion proceeds and gets accepted as is (or with some ammendments based on the discussion on the issue). Thanks for your feedback. |
cd70035
to
25e9acf
Compare
@straight-shoota Ok, done. Moved the changes of FormData back to HTTP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/http/formdata.cr
needs to have require "mime/multipart"
as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if this can be merged right now, it's a breaking change so probably not suitable for 0.27.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @m1lt0n 👍
Maybe update PR title as HTTP::FormData is no longer moved to Mime:: namespace?
|
@m1lt0n there are some conflicts since the last release. Would you be willing to rebase & fix on master so this can be merged? |
e054091
to
6b25e16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 👍
Updated mock.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085
Updated mailgun.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085
Updated mock.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085 sorry for 2 PRs. I don't know how to combine 2 edits on github...
Updated mock.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085
Updated mailgun.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085
This is implementing the proposal of issue #7078