Skip to content

Commit

Permalink
fix: add more expectsPayload methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Oct 10, 2024
1 parent 4869e5e commit e014fef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/dispatcher/client-h1.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,9 @@ function writeH1 (client, request) {
const expectsPayload = (
method === 'PUT' ||
method === 'POST' ||
method === 'PATCH'
method === 'PATCH' ||
method === 'QUERY' ||
method === 'PROPFIND'
)

if (util.isFormDataLike(body)) {
Expand Down

0 comments on commit e014fef

Please sign in to comment.