On 18.12.2009, at 13:20, Lukas Kahwe Smith wrote: > > On 18.12.2009, at 12:14, Lukas Kahwe Smith wrote: > >> Ahoi, >> >> From my research it seems that YUI doesnt send the required X_REQUESTED_WITH >> header information. But I think that previous version of the ysfYUIPlugin >> added support for sending the header. However it seems like this is missing >> in the 1.3 branch? Or what js file should I load in order to get this set >> properly? Or is this now a user land job to set the header via Y.io? > > > nevermind .. seems like Y.io does send the header by default. I was just > being stupid and didnt check that a co worker is using GDownloadUrl() for > that ajax call and not YUI.
that being said, it seems like GDownloadUrl() does not send the required X_REQUESTED_WITH header by default or does it support sending custom headers. it would be good if isXmlHttpRequest() would also check a GET/POST parameter "isXmlHttpRequest" to be able to handle such JS frameworks that are unable to send the proper header. regards, Lukas Kahwe Smith [email protected] -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
