Last post Jun 15, 2020 09:56 AM by nareshbishtasus
Jun 14, 2020 03:12 AM|nareshbishtasus|LINK
Hi, guys, I'm new to asp.net core. I want to show some images on my site but the images are over unsecured connection for example
http://image.png . If I write this absolute link inside image tag asp.net make a request to HTTPS instead of HTTP thus returning 402 error. How can i solve this?
Jun 14, 2020 04:39 PM|bruce (sqlwork.com)|LINK
Be sure the browser is configured to allow mixed content.
Jun 15, 2020 09:39 AM|Rena Ni|LINK
If I write this absolute link inside image tag asp.net make a request to HTTPS instead of HTTP thus returning 402 error.
Did you mean your application is request by https,but your image url is http://image.png?If so,I could not reproduce 402 error.Could you share a screenshot about your Network panel which is in your browser?
Jun 15, 2020 09:56 AM|nareshbishtasus|LINK
Yeah. It does not. I forgot to close the thread here it was because of l one package i was using for code minifiction. To minify the code it was actually removing http in the absolute url. Thank you