Hi All,

I have a strange behavior with a pice of code I wrote using the latest
prototype release, here it is:
var debug = $('debug');
        new Ajax.Request("http://twitter.com/statuses/
public_timeline.json", {
          method: 'get',
          onLoading: function(){
          onSuccess: function(transport) {
            debug.update("SUCCESS: " + transport.responseJSON  + "<br/
          onException: function(transport, exception){
            debug.update("EXCEPTION: " + exception);

What is happening here is that I'm doing an HTTP OPTION request
instead of a HTTP GET request and I believe it is because of this:
but anyway I don't know how to manage/avoid it. I just want to make an
AJAX request using HTTP GET.

Can anyone help me?

Many thanks,


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to