@elastic/elasticsearch-mock
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -157,4 +157,4 @@ // Licensed to Elasticsearch B.V under one or more agreements. | ||
const compression = params.headers['Content-Encoding'] === 'gzip' | ||
const type = params.headers['Content-Type'] || '' | ||
const compression = (params.headers['Content-Encoding'] || params.headers['content-encoding']) === 'gzip' | ||
const type = params.headers['Content-Type'] || params.headers['content-type'] || '' | ||
@@ -161,0 +161,0 @@ if (isStream(params.body)) { |
{ | ||
"name": "@elastic/elasticsearch-mock", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Mock utility for the Elasticsearch's Node.js client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44812