Hi Charles, Charlie wrote: > Hi > I'm not sure if this is an expected behaviour or a bug, for me it's > would be the latter case : > When sending a request using the POST method and the XmlHttp transport > implementation, setting the POST parameters via the request > setParameters() method will feed the POST data with the given > parameters, but it will also trigger the building of the query string in > the URL : in current release 0.8.1, in qx.io.remote.XmlHttp, line 206 If you use the method "setParameters" the Request class will ALWAYS add the parameters to the URL. This behaviour is intented.
> I can go around this by NOT setting the parameters of my Request object, > but building my own data string and set it via setData(). I will make my > own Request extension to fix this, but I thought it would be interesting > to notice. That's the way to go for POST requests: you have to use the "setData" method in order to add the data to the request body. Anyway, thanks for pointing this out here at the list. This is hopefully also interesting for developers here at the list. cheers, Alex ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
