S'okay, I found it:
https://svn.codehaus.o
rg/jetty-contrib/jetty/trunk/contrib/cometd/api/src/main/jav
a/dojox/
On Feb 19, 10:28 pm, Greg Wilkins <gr... mortbay.com> wrote:
> Brendon Hogger wrote:
> >> Also, I DO see on the server side that a new
client has connected. The
> >> ONLY difference I can see when looking at the
requests in Firebug is
> >> that the one served from a http:// URL makes a
GET request, whereas
> >> the one served from a file:/// URL does a POST
request. I am pretty
> >> sure that's the reason one works and the other
doesn't. The question
> >> therefore is a) Why? and b) How do I fix this?
I am not even sure why
> >> serving from HTTP rather than a static file
should mean that a
> >> different HTTP request method is used.
>
> > From the paste, it looks like you're connecting to
a cometd server on
> > a different port than the HTML file was served
from. cometd will treat
> > this as cross-domain, regardless of your Firefox
preferences, and try
> > to use (I guess) callback-polling (GET and
<script> tags) instead of
> > XHR posts.
>
> > Why this would cause problems, I don't know.
>
> because I recently broke jsonp cross domain
support..... fixed in
> svn now and in a release coming soon.
>
> cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|