-
Notifications
You must be signed in to change notification settings - Fork 0
Body used detection not working #63
Copy link
Copy link
Open
Labels
priority:1Required ASAP. May block another project, be for an upcoming release, or cause major issues.Required ASAP. May block another project, be for an upcoming release, or cause major issues.
Description
Activity
Metadata
Metadata
Assignees
Labels
priority:1Required ASAP. May block another project, be for an upcoming release, or cause major issues.Required ASAP. May block another project, be for an upcoming release, or cause major issues.
Type
Projects
- StatusShow more project fieldsIn Progress
Request.incomingMessagepasses theIncomingMessageinstance itself forbodyStream; because of that,Request#bodyStream.readableDidReadis always true inRequest#bodyUsed()since at this point reading the request itself (not specifically body) has started.I don’t think
stream.Readableexposes any API to determine if already read. However,IncomingMessagehas#completewhich indicates whether the request has been fully read.