We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db5da50 + e455a61 commit 7daeaf8Copy full SHA for 7daeaf8
EventListener/BodyListener.php
@@ -144,7 +144,7 @@ public function onKernelRequest(GetResponseEvent $event)
144
*/
145
private function isNotAnEmptyDeleteRequestWithNoSetContentType($method, $content, $contentType)
146
{
147
- return false === ('DELETE' === $method && empty($content) && null === $contentType);
+ return false === ('DELETE' === $method && empty($content) && empty($contentType));
148
}
149
150
/**
0 commit comments