Skip to content

Transfer-Encoding: chunked is enabled by default #3952

@foleta-developers

Description

@foleta-developers

NEST/Elasticsearch.Net version: 7.0.1

Elasticsearch version: 7.0

Since upgrading from Elasticsearch.Net 7.0.0.alpha to the most current version, all requests made to Elasticsearch are sent with the header "Transfer-Encoding: chunked". Since our Elasticsearch server is behind a reverse proxy, it can no longer pass on the requests. It worked flawlessly with versions 6 and 7 alpha, since this header wasn't included in requests sent through those versions.

I have found no way of disabling this header. Not through the GlobalHeaders() method on the connection settings, nor through a custom HttpConnection. The header is re-added/overwritten at all times.

Is this by design? Is there a workaround available?

Metadata

Metadata

Assignees

No one assigned

    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