algolia / algolia/algoliasearch-client-javascript

feat: add gzip as content-encoding

未关闭
#762 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
1.4k
派生
227
PR 合并指标
30 天内没有已合并 PR

描述

The engine is introducing a new feature allowing to optionally compress request
payloads (ie. POST/PUT body, http or https).

To test it:

Perform a `saveObject` with the content encoded with GZIP
Don't forget to add: `"Content-Encoding: gzip"` as a header.

We will discuss a specification for a more detailed implementation.
Like adding a `enableGZIP` flag in client's configuration.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 未指明文件或测试;首先在 TypeScript 客户端中定位 saveObject 请求路径,并复现所描述的 gzip 请求。开始前,与维护者确认实现和配置规范;完成的定义是已验证约定的可选 gzip content-encoding 行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
api
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。