Using AJAX Call Response Status Text Returns Empty with HTTPS URL?

52 Views Asked by At

AJAX Call Response Status Text Returns Empty with HTTPS URL

I hosted my .NET web application using an HTTPS URI. I experienced an issue where the AJAX response status text returned as empty, which is the cause of the issue. There is a check, (xmlhttp.statusText == "OK"), but we are receiving a NULL value in this case.

enter image description here

When I use the HTTP URL, I am able to retrieve the statustext value correctly.

enter image description here

But, I using the HTTPS URL, I get an empty value for the statustext.

When I use an HTTPS URL, I receive a status text value of "OK".

0

There are 0 best solutions below