Closed Mis1eader-dev closed 2 weeks ago
Describe the bug Using PUT it works fine, but PATCH refuses to parse the body.
To Reproduce Steps to reproduce the behavior:
MultiPartParser::parse
parser.parse(req) == -1
Expected behavior Should work for both HTTP methods.
Additional context The printed body by PUT:
--X-INSOMNIA-BOUNDARY Content-Disposition: form-data; name="title" Rozzlin --X-INSOMNIA-BOUNDARY--
By PATCH:
They are identical, and yet it fails on PATCH?
Describe the bug Using PUT it works fine, but PATCH refuses to parse the body.
To Reproduce Steps to reproduce the behavior:
MultiPartParser::parse
on both.parser.parse(req) == -1
is true for PATCH, and false for PUT.Expected behavior Should work for both HTTP methods.
Additional context The printed body by PUT:
By PATCH:
They are identical, and yet it fails on PATCH?