On Mar 13, 6:13 pm, "Arnar Birgisson" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> On 3/13/07, Bob Ippolito <[EMAIL PROTECTED]> wrote:
>
> > On 3/13/07, lance10ca <[EMAIL PROTECTED]> wrote:
> > > If anyone has a suggestion, I'm all ears.
>
> > XMLHttpRequest doesn't work across domains...
>
> But <scripts src="xxx"></script> tags do.

> Arnar

Okay, just a clarification here. The javascript is in the same domain.
(Or at least as far as I understand the word 'domain', we are talking
about a FQDN for a virtual host from apache, right?) From the webpage
where the javascript resides the services are relative. '/services/
search.py'. The page is an index.shtml, the javascript is an included
script in the top-level of that v-host, the services are served from a
sub-directory.

I'm thinking my syntax is wrong, as opposed to javascript security. I
looked in the archives and saw Bob's posts on using POSTS via manually
modifiying the request instead of a GET (thinking that might have been
the issue) to no avail.

In the json-rpc rfc, it says to specify the method, which makes sense
given how it works. I'm wondering if the querystring I'm using is
mucking with that. In the Mochikit docs for Async.doXHR() it says that
the option method is used to define the the HTTP method, is it
possible that this is a problem?

In a related note, a telnet to port 80 with the query string
constructed also fails . . . in that it returns nothing. So maybe I
have other issues, but that doesn't help me explain why a python
jsonrpclib construct succeeds.

Thanks all for the responses.

Cheers,
lance


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to