getImageResponse(filePath): Promise<Response>
Sends an image file as an HTTP response with the appropriate content type and cache headers.
Parameters
filePath
string
Absolute path to the image file to be sent to the client.
Returns
Promise<Response>