WebPagetest Forums
XHR Related Controls - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: XHR Related Controls (/showthread.php?tid=13260)



XHR Related Controls - pganti - 09-27-2014 02:25 AM

Is there anyway we can do setHeader or setCookie override on XHR requests. Right now in a script the profile we set in setHeader/addHeader does not crry over which is true of browser behavior but can I do a exec which shall add headers to the xhr requests?


RE: XHR Related Controls - pmeenan - 09-27-2014 04:41 AM

Which browser and are the requests http ot https? http requests shouldn't care if it is XHR or otherwise and should modify the requests on the wire.


RE: XHR Related Controls - pganti - 09-28-2014 09:33 AM

Actually its weird that only one request does not abide

Check this waterfall for request #49 and you can see that the cookie is absent
http://www.webpagetest.org/result/140928_XT_8dc32a229f54db2bd876191f0a39e146/1/details/