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

chore: add content-type support to multi files in TestClient. #30

Closed
wants to merge 1 commit into from
Closed

chore: add content-type support to multi files in TestClient. #30

wants to merge 1 commit into from

Conversation

@jairojair
Copy link
Contributor

@jairojair jairojair commented Jan 6, 2019

Hi!

I'm using Molten for this project: https://github.com/jairojair/data-integration-example

So, I saw the client testing class don't have support to file content type, I need that to check, validate or maybe make a parser for that.

This way I changed (I little bit) the code to support that.

PS: Today the open api interface send a file with a right content type.

Thanks.

@Bogdanp
Copy link
Owner

@Bogdanp Bogdanp commented Jan 15, 2019

Thanks! I made some more changes on top and merged your PR with rebase. I ended up reversing the order of the tuple values so it's filename, mime, stream now instead of filename, stream, mime.

@Bogdanp Bogdanp closed this Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants