Open cgiamouridisEncode opened 1 year ago
I now have the suspicion that the component does not explicitly makes a request. It simply creates the respective HTML img element and therefore delegates the responsibility of the downloading to the browser. If this is the case indeed, this question should be closed.
I believe this is the default behavior of browser. The request also send the cookie. you can handle the cookie to get the image in your BE side
Summary
When the editor viewer sees a markdown content like the one below, it sends a request to the URL inside the parentheses to download and view it. How can one intervene to that request in order to add an HTTP request header just before it is sent? Thank you.
Screenshots
This a request that is made as described above. How can I add a header request, indicated in the circle?
Version
2.5.2
Additional context
Add any other context about the problem here.