javascript - Access response headers of new redirected URL using document.location.href -




i have created iframe like:

document.body.insertadjacenthtml("beforeend", '<iframe src="' + geteservicecontext()     + '/web/blank.htm" style="width:20%; height:20%;" role="presentation" name=' + 'testframe'     + 'id=' + 'testframe'+ 'frameborder=1 scrolling=yes></iframe> '); 

now assigning new url iframe like:

document.frames['testframe'].location = url (any http url); 

is possible access response headers returned part of accessing above url?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -