Home  >  Article  >  Backend Development  >  Why are these two requests not the same icon despite the same AJAX request?

Why are these two requests not the same icon despite the same AJAX request?

WBOY
WBOYOriginal
2016-09-03 00:14:101198browse

Why are these two requests not the same icon despite the same AJAX request?



Why are these two requests not the same icon despite the same AJAX request?
This TYPE is document, why not XHR

Reply content:

Why are these two requests not the same icon despite the same AJAX request?



Why are these two requests not the same icon despite the same AJAX request?
This TYPE is document, why not XHR

This is related to the response header
Content-Type: text/html;charset=utf-8
Content-Type: application/json

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn