Open ninjanero opened 7 years ago
there's a problem when the response is an image, it's not possible to use with some libraries, for example:
this is the code that I used: return $response->withHeader('Content-type', 'image/jpeg')->withBody($image->stream('jpg', 80));
return $response->withHeader('Content-type', 'image/jpeg')->withBody($image->stream('jpg', 80));
there's a problem when the response is an image, it's not possible to use with some libraries, for example:
this is the code that I used:
return $response->withHeader('Content-type', 'image/jpeg')->withBody($image->stream('jpg', 80));