Skip to content

Commit fa1ebb9

Browse files
author
Admin
committed
New streamed json response
1 parent 676096a commit fa1ebb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Responses/StreamedJsonResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function __construct(
118118
}
119119
}, $status, $headers);
120120

121-
if (!$this->headers->get('Content-Type')) {
121+
if (!$this->headers->has('Content-Type')) {
122122
$this->headers->set('Content-Type', 'application/json');
123123
}
124124
}

0 commit comments

Comments
 (0)