Sorry, i made a mistake in my sentence. If browser support XHR request but doesn't support XHRStreaming, it will use long polling. If it doesn't support XHR request, JSONP is used.
Nicolas Trani wrote: > Hi Matt, > > no it's not a bug, JSONP is only used if browser doesn't support XHR > request. If browser support XHR request but doesn't support XHRStreaming > feature it will fallback to JSONP. > > Regards. > > mjcoder wrote: > >> The documentation says that if the browser doesn't support a transport >> method, it will failover to Long Polling: >> http://www.ape-project.org/wiki/index.php/Tutorial:Use_different_transport_method_%28JSONP%2C_XHRStreaming%29 >> >> >> This doesn't seem to be the case. Instead, it is failing over to >> JSONP. >> >> See Line 189 of Source/Transport/Transport.XHRStreaming.js >> >> >> Is documentation just wrong or a bug? >> >> Thanks, >> Matt >> >> >> > > > -- Nicolas Trani - Web engineer Weelya - Improve the web 32 rue du faubourg boutonnet 34090 Montpellier Tel: 04 67 169 778 - Fax: 09 57 91 99 91 http://www.weelya.com http://www.ape-project.org -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
