Simulating Ajax XHR


#1

Is there anyway to modify a URL to pretend to be XHR (for debugging) -
the same way you can add .xml or .js to debug those?


#2

There is a header attribute which is the only way that rails knows it
was XHR. I forget the attribute, but it should be in Ajax on Rails.

Michael