On Jan 2, 6:53 pm, "Mustafa C." <li...@ruby-forum.com> wrote:
> Hi Fred,
> Tried it, though no change. I'm thinking the issue may be more
> fundamental, hope it proves me wrong!
>
> My xhr POST is actually being sent as an HTTP POST request, I send it
> from Javascript client as XMLHTTPRequest. The first problem is: I should
> not send login/password plain text before SSL channel is setup. The
> question becomes how do I set up SSL before that? Am I getting too
> confused here?
Just to clarify is the page from which the ajax request also loaded
over https? When making an ajax request, the single origin policy
restricts you to the same host and protocol as that of the page you're
on: if the page is loaded over http then ajax requests can only be
made over http
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment