Compare commits
No commits in common. "master" and "2.0.6" have entirely different histories.
|
@ -278,10 +278,6 @@ export default class IncomingForm extends EventEmitter {
|
||||||
#createUrlencodedParser() {
|
#createUrlencodedParser() {
|
||||||
this.#parser = new UrlencodedParser()
|
this.#parser = new UrlencodedParser()
|
||||||
|
|
||||||
if (this.bytesExpected) {
|
|
||||||
this.#parser.initLength(this.bytesExpected)
|
|
||||||
}
|
|
||||||
|
|
||||||
this.#parser
|
this.#parser
|
||||||
.on('field', fields => this.emit('field', false, fields))
|
.on('field', fields => this.emit('field', false, fields))
|
||||||
.on('end', () => this.#handleEnd())
|
.on('end', () => this.#handleEnd())
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@gm5/request",
|
"name": "@gm5/request",
|
||||||
"version": "2.0.7",
|
"version": "2.0.6",
|
||||||
"description": "对Http的Request进一步封装, 提供常用的API",
|
"description": "对Http的Request进一步封装, 提供常用的API",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "yutent",
|
"author": "yutent",
|
||||||
|
|
Loading…
Reference in New Issue