You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
We are experiencing an issue when running a code with qx serve. And the bug is not there when running a code built with qx deploy
The bug is the following : there is not "Cookie" header set on request that are build with qx.io.rest.Resource but when we are using a qx.io.request.Xhr we have a "Cookie" header
In both case we set the withCredentials parameter to "true" with something like :
// this is pseudo-code, I skipped the request parameters// in this case, the cookie parameter is passed when using qx serve and qx deployvarrequest=newqx.io.request.Xhr();varnativeXhr=request.getTransport().getRequest();nativeXhr.withCredentials=true;
// this is pseudo-code, I skipped the request parameters// in this case, the cookie parameter is passed only when using qx deploy but not when using qx servevarresource=newqx.io.rest.Resource();resource.configureRequest(function(request){varnativeXhr=request.getTransport().getRequest();nativeXhr.withCredentials=true;});
Our code is working just fine in productions stage, the cookie is always there in all cases. But the exact same code is not working anymore with qx serve.
We actually think the bug started to occur when we upgrade node from 12 to 14 but we are not sure this is related.