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

HttpClient.get<String> throws on empty response body #392

Closed
accursoft opened this issue Apr 24, 2018 · 0 comments
Closed

HttpClient.get<String> throws on empty response body #392

accursoft opened this issue Apr 24, 2018 · 0 comments
Assignees
Labels

Comments

@accursoft
Copy link

HttpClient.get<String> throws this exciting error:

No transformation found: class io.ktor.client.engine.apache.ApacheHttpResponse -> class kotlin.String

if the response body is empty.

@e5l e5l self-assigned this Apr 25, 2018
@e5l e5l added the bug label Apr 25, 2018
e5l added a commit that referenced this issue Apr 25, 2018
e5l added a commit that referenced this issue Apr 25, 2018
@e5l e5l closed this as completed Apr 27, 2018
schleinzer pushed a commit to schleinzer/ktor that referenced this issue Feb 26, 2019
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