Skip to content

Commit 85fdb9d

Browse files
authored
Add QUERY method support in nsHttpRequestHead
Signed-off-by: Julian Reschke <julian.reschke@gmx.de>
1 parent ad24860 commit 85fdb9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netwerk/protocol/http/nsHttpRequestHead.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ bool nsHttpRequestHead::IsSafeMethod() const {
355355
return false;
356356
}
357357

358-
return (!strcmp(mMethod.get(), "PROPFIND") ||
358+
return (!strcmp(mMethod.get(), "PROPFIND") || !strcmp(mMethod.get(), "QUERY") ||
359359
!strcmp(mMethod.get(), "REPORT") || !strcmp(mMethod.get(), "SEARCH"));
360360
}
361361

0 commit comments

Comments
 (0)