()
| 5842 | }); |
| 5843 | } |
| 5844 | const body = { stream, source, length }; |
| 5845 | return [body, type]; |
| 5846 | } |
| 5847 | function safelyExtractBody(object, keepalive = false) { |
| 5848 | if (object instanceof ReadableStream) { |
| 5849 | assert(!util.isDisturbed(object), "The body has already been consumed."); |
| 5850 | assert(!object.locked, "The stream is locked."); |
| 5851 | } |
nothing calls this directly
no test coverage detected