Add OPTIONS to methods with body list

Included HTTPVerb.options in the kMethodsWithBody constant to ensure OPTIONS requests are recognized as supporting a body.
This commit is contained in:
Ankit Mahato
2025-06-29 06:52:53 +05:30
parent 89a7c73834
commit 275200d1fc

View File

@@ -38,6 +38,7 @@ const kMethodsWithBody = [
HTTPVerb.put,
HTTPVerb.patch,
HTTPVerb.delete,
HTTPVerb.options,
];
const kDefaultHttpMethod = HTTPVerb.get;