javascript - getting requestheaders from XHR -


i need access requestheaders in onload function. how can ?

thanks

if want access cookies within javascript can read them using document.cookie:

allcookies = document.cookie; 

allcookies string containing semicolon-separated list of cookies (i.e. key=value pairs)


Comments