I have the following Ajax call

 new Ajax.Request('download.php?id=48', {
       method: 'get',
       on302: function(resp){
        onSuccess: function(resp){

The problem is that download.php does a 302 Temporary Redirect, by
using this php: header("Location: http://domain.com/this.zip";)
Prototype correctly calls on302 function, however the Location header
is not found in the headers.  If you make the request otherwise by
using your browser, it works perfectly.

This could be a bug or a missing feature.

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