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

ktor-client-core: Copy existing config in HttpClient#config #559

Merged
merged 2 commits into from
Sep 6, 2018

Conversation

octylFractal
Copy link
Contributor

Copy the existing config in HttpClient#config, as the docs specify.
Prior to this all features and interceptors were lost.

Copy link
Member

@e5l e5l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add engine test runners for your tests?

@e5l e5l self-assigned this Sep 4, 2018
@octylFractal
Copy link
Contributor Author

Sure, though I don't see the advantage -- don't all of them use the same #config method?

@e5l
Copy link
Member

e5l commented Sep 5, 2018

The test class locates in src directory and can't be recognized as test.
Typically we use such classes as the test template.

Copy the existing config in HttpClient#config, as the docs specify.
Prior to this all features and interceptors were lost.
@octylFractal
Copy link
Contributor Author

Added engine test runners.

@e5l
Copy link
Member

e5l commented Sep 6, 2018

LGTM.

Awesome, thanks for the request.

@e5l e5l merged commit d69d00b into ktorio:master Sep 6, 2018
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

Successfully merging this pull request may close these issues.

2 participants