Skip to content

EnableHttpCompression doesn't work correctly #2150

@darkfeanor

Description

@darkfeanor

NEST/Elasticsearch.Net version : 2.3.3

Elasticsearch version: 2.3.2

Description of the problem including expected versus actual behavior:
I'm trying to use the compression between Client and Server and getting the following Error:

"System.InvalidOperationException: Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects".

I have used: "settings.EnableHttpCompression()"; at client and "http.compression:true" at server.

I'm using .net core rc1.

It seems to be a bug, or I'm making something wrong...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions