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

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -