hof 21.0.2-axios-beta → 21.0.3-axios-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,8 @@ module.exports = class PDFModel extends Model {
|
|
9
9
|
const settings = super.requestConfig(options);
|
10
10
|
settings.encoding = null;
|
11
11
|
settings.rejectUnauthorized = false;
|
12
|
+
settings.responseType = 'arraybuffer';
|
13
|
+
console.log("settings---------------: ", settings);
|
12
14
|
return settings;
|
13
15
|
}
|
14
16
|
|
package/model/index.js
CHANGED
@@ -137,7 +137,7 @@ module.exports = class Model extends EventEmitter {
|
|
137
137
|
resolve(data);
|
138
138
|
}
|
139
139
|
};
|
140
|
-
console.log("settings
|
140
|
+
console.log("settings---------------: ", settings);
|
141
141
|
this._request(settings)
|
142
142
|
.then(response => {
|
143
143
|
return this.handleResponse(response, (error, data, status) => {
|