Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx committed Mar 1, 2024
1 parent e343948 commit 37d09c5
Show file tree
Hide file tree
Showing 7 changed files with 327 additions and 88 deletions.
2 changes: 1 addition & 1 deletion lib/dispatcher/client-h1.js
Expand Up @@ -857,7 +857,7 @@ function writeH1 (client, request) {
extractBody = require('../web/fetch/body.js').extractBody
}

const [bodyStream, contentType] = extractBody(body)
const { 0: bodyStream, 1: contentType } = extractBody(body)
if (request.contentType == null) {
headers.push('content-type', contentType)
}
Expand Down

0 comments on commit 37d09c5

Please sign in to comment.