getBody()->write(''); } else { $result = response()->withBody(new Stream()); } return $result; } }