Closed Rev8Crew closed 1 year ago
I think this occurs because of:
and:
Please, provide more information about "what exactly you determine as a bug", and reopen this issue, please.
I think the bug is fact that when I use roadrunner default laravel functionality doesn't work properly. The question is why Listeners\EnableHttpMethodParameterOverrideListener::class doesn't set $httpMethodParameterOverride = true in some requests which I demonstrated earlier
Describe the bug
So my route code is
Route::put('test', static fn () => \rr\dd( request()::getHttpMethodParameterOverride(), request()->method() ));
Expected behaviour
When I try to request a /test url with method POST and body params with "_method": "PUT" I get error that showed on screenshot
Actual behaviour
The request must return dd response
Steps to reproduce
Use same route
System information
RoadRunner configuration file content
Package configuration file content