You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response header 'Connection' is always set to 'close' by response handler. If the header set function is called to manually assign 'Connection' header to 'keep-alive', then response contains comma separated string 'keep-alive, close' which browser/client interprets as 'close'. This is present from v5.2.
Steps To Reproduce:
use response()->json($array, 200, ['Connection' => 'keep-alive']) to set the keep-alive header. The incorrect header for 'Connection' will be passed in response.