Skip to content

Commit

Permalink
(Fix:Module) fix #213 修复返回包Content-Type为非文本时连接异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Medicean committed Sep 5, 2019
1 parent d7797d6 commit 91f5b83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### 后端模块

* 修复数据截取 Bug
* 修复返回包`Content-Type`为非文本时连接异常问题 (#213)

### 核心模块

Expand Down Expand Up @@ -40,6 +41,7 @@
* `jsp_custom_script_for_mysql` 增加 Version 显示
* windows 下单击鼠标左键 Tray Icon 显示/隐藏 主窗口 改为 「双击」
* 默认设置新增 「使用随机英文单词变量」配置项
* 移除 shells 目录, 示例脚本已转至 [AwesomeScript](https://github.com/AntSwordProject/AwesomeScript) 仓库下

## 2019/08/19 `v(2.1.5)`

Expand Down
1 change: 1 addition & 0 deletions modules/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class Request {
// 忽略HTTPS
.ignoreHTTPS(opts['ignoreHTTPS'])
.send(_postarr)
.buffer(true)
.parse((res, callback) => {
this.parse(opts['tag_s'], opts['tag_e'], (chunk) => {
event
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antsword",
"version": "2.1.5.1",
"version": "2.1.5.2",
"description": "中国蚁剑是一款跨平台的开源网站管理工具",
"main": "app.js",
"dependencies": {
Expand Down

0 comments on commit 91f5b83

Please sign in to comment.