IE verification code image does not display solution

Because the cas login page requires a verification code, there was no problem debugging Google Chrome at first, but because it needs to be compatible with IE, the verification code was not displayed when debugging under IE, but there was data in the interface data, but later it was discovered that the Content-Type was
Insert image description here
image
Insert image description here
/ png causes no problem in Google, but it cannot be displayed in IE, so when the background needs to return the Content-Type format, the image/jpeg
Insert image description here
image comes out.

ah. . . . . . It’s another day of trouble.
If it helps you, remember to give it a like.

Guess you like

Origin blog.csdn.net/qq_32881447/article/details/126460860