Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11.x] Fixes
Illuminate\Http\Response
to output empty string if `$c…
…ontent` is set to `null` (#53872) * [11.x] Fixes `Illuminate\Http\Response` to output empty string if `$content` is set to `null` 1. Symfony set the content to `null` for `response()->noContent()` https://github.com/symfony/http-foundation/blob/e88a66c3997859532bc2ddd6dd8f35aba2711744/Response.php#L246-L249 2. This cause issue with PSR-7 HTTP Stream in Octane fixed laravel/octane#972 Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update Response.php * Update Response.php --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information