Closed meHimanshu closed 3 years ago
@meHimanshu , thank you for your pull request.
Alas, this pull request doesn't solve your issue, because headers are sent only in one of three requests. The getImageData
method is used to get the binary image representation and extract an image orientation, images for preview and background are received by two independent browser requests (from <img />
), that won't have custom headers.
Anyway, it's pretty uncommon to send additional request headers to get an image. What's your use-case?
Hi @Norserium, we can close the PR as we have solved the issue on our end
Thanks @Norserium
able to send headers in props along with image urls solves issue when need to set custom header values to get image data