Skip to content

Conversation

@VanHuychemG
Copy link
Contributor

When making a HEAD requests the response does not contain a ContentType. The Async version of Request already has this check, however the synchronous call fails with a NullReferenceException.

When making a HEAD requests the response does not contain a ContentType. The Async version of `Request` already has this check, however the synchronous call fails with a NullReferenceException.
@russcam russcam self-assigned this Apr 12, 2018
@russcam russcam merged commit 9fbcdf8 into elastic:master Apr 12, 2018
@russcam
Copy link
Contributor

russcam commented Apr 12, 2018

Thanks for the PR @VanHuychemG 👍

russcam pushed a commit that referenced this pull request Apr 12, 2018
When making a HEAD requests the response does not contain a ContentType. The Async version of `Request` already has this check, however the synchronous call fails with a NullReferenceException.

(cherry picked from commit 9fbcdf8)
russcam added a commit that referenced this pull request Apr 12, 2018
This commit is a backport of #3188 that adds the response mime type to ElasticsearchResponse.
@CumpsD
Copy link

CumpsD commented Apr 12, 2018

Thanks!

codebrain pushed a commit that referenced this pull request Apr 13, 2018
This commit is a backport of #3188 that adds the response mime type to ElasticsearchResponse.
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.

3 participants