browserify / browserify/http-browserify
Support `res.setEncoding` and non-text response types
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 245
- 派生
- 104
- PR 合并指标
- 30 天内没有已合并 PR
描述
Response data in http-browserify seems to default to text. In node http it seems to default to buffer. Independent of defaults, the node version supports setEncoding so you can change the type of the response. The browserify version should do the same.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指定文件、测试或入口点,因此首先定位 response 的实现以及现有的 response data 处理方式。将其行为与 Node's http response 进行比较,并确定 setEncoding 和非文本 response 类型应如何工作;当浏览器实现支持 setEncoding,且 response data 的行为匹配并由测试覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100