I was surprised to see that the IP address of my host is 10.0.0.1. I thought the following code would generate an exception due to cross-domain issues:
Ext.Ajax.request({
url : "http://example.com",
method: 'GET',
...
To my astonishment, when I checked the request using Fiddler, it was transformed into:
http://10.0.0.1/proxy?url=http://example.com
This shows that by setting up a proxy on the server side, requests can be automatically redirected to their intended destinations. It made me wonder who implemented this magic trick?