xmlhttprequest not firing response event handler for ready state 3 when using flush from php
- 阅读更多 关于 xmlhttprequest not firing response event handler for ready state 3 when using flush from php
问题 I am sending a request a remote server from google chrom extension using xmlhttprequest I have set permissions in the manifest.json to access remote hosts Basically it is working fine as expected. what i had expected is readystate 4 it is fired when the response has completed. Since it is a 8 to 10 second process in the server side i use echo from the server side to the client for status update. so i use readyState==3 condition to show server response but when i tested readystate 1 and 4 are