Commit 91f5b838 authored by Medicean's avatar Medicean

(Fix:Module) fix #213 修复返回包Content-Type为非文本时连接异常问题

parent d7797d65
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
### 后端模块 ### 后端模块
* 修复数据截取 Bug * 修复数据截取 Bug
* 修复返回包`Content-Type`为非文本时连接异常问题 (#213)
### 核心模块 ### 核心模块
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
* `jsp_custom_script_for_mysql` 增加 Version 显示 * `jsp_custom_script_for_mysql` 增加 Version 显示
* windows 下单击鼠标左键 Tray Icon 显示/隐藏 主窗口 改为 「双击」 * windows 下单击鼠标左键 Tray Icon 显示/隐藏 主窗口 改为 「双击」
* 默认设置新增 「使用随机英文单词变量」配置项 * 默认设置新增 「使用随机英文单词变量」配置项
* 移除 shells 目录, 示例脚本已转至 [AwesomeScript](https://github.com/AntSwordProject/AwesomeScript) 仓库下
## 2019/08/19 `v(2.1.5)` ## 2019/08/19 `v(2.1.5)`
......
...@@ -211,6 +211,7 @@ class Request { ...@@ -211,6 +211,7 @@ class Request {
// 忽略HTTPS // 忽略HTTPS
.ignoreHTTPS(opts['ignoreHTTPS']) .ignoreHTTPS(opts['ignoreHTTPS'])
.send(_postarr) .send(_postarr)
.buffer(true)
.parse((res, callback) => { .parse((res, callback) => {
this.parse(opts['tag_s'], opts['tag_e'], (chunk) => { this.parse(opts['tag_s'], opts['tag_e'], (chunk) => {
event event
......
{ {
"name": "antsword", "name": "antsword",
"version": "2.1.5.1", "version": "2.1.5.2",
"description": "中国蚁剑是一款跨平台的开源网站管理工具", "description": "中国蚁剑是一款跨平台的开源网站管理工具",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment