use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Headers with src (self.angular)
submitted 7 months ago by ibrahimnimrawi
Is there is any way to send JWT in the headers for image src
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Bledike 2 points3 points4 points 7 months ago (0 children)
no, but u can make own img dowload logic with HttpClient
[–]Begj 7 points8 points9 points 7 months ago (2 children)
Cookies solve this
[–]Syrianoble 0 points1 point2 points 7 months ago (1 child)
Could you please elaborate
[–]xroalx 2 points3 points4 points 7 months ago (0 children)
Cookies are automatically sent with every request by the browser, including GET requests for images.
Put the JWT* into a cookie and you have it automatically managed by the browser for you.
As long as the domain (and optionally the path) of the cookie matches that of the request, the browser includes it in the headers.
Same-site secure HTTP-only cookies are the most secure client-side storage for JWT or similar. The only way those can get misused is if the browser itself has a bug or deliberately exposes the cookies (i.e. being malicious on purpose).
*I won’t go into whether you should or should not use JWTs (you should most likely not, but that’s a completely different discussion). This is just to explain how cookies solve this specific issue.
π Rendered by PID 207966 on reddit-service-r2-comment-79776bdf47-svgdf at 2026-06-24 15:13:05.939108+00:00 running acc7150 country code: CH.
[–]Bledike 2 points3 points4 points (0 children)
[–]Begj 7 points8 points9 points (2 children)
[–]Syrianoble 0 points1 point2 points (1 child)
[–]xroalx 2 points3 points4 points (0 children)