PDA

View Full Version : http based data store



rocksportrocker
10 Jun 2009, 4:58 AM
Hi,

I'm using the following snippet



proxy: new Ext.data.HttpProxy(
{
method: 'GET',
url : 'http://192.168.2.105:8000/preva/',
}

for configuring access to some external data. My webserver is Django (Python based framework), which reports that theses requests use a HTTP method called "OPTIONS" when contacting the server. My webserver does not now how to react.

Any hints ? Can I disable "OPTIONS" requests in Ext.js ?

Greetings, Uwe

Animal
10 Jun 2009, 5:33 AM
No, that will use GET.

Sgt.Pepper
12 Jun 2009, 12:52 AM
Use Firebug to monitor the requests of your application, and see what is going on.

How do you use the HTTP proxy? In a restful store?