Re: [cors] Redirects and preflights

2009-03-16 Thread Anne van Kesteren
On Thu, 05 Mar 2009 10:18:39 +0100, Jonas Sicking jo...@sicking.cc wrote: [...] So this is quite a common pattern on the web today, and ideally should be more common. The pattern is typically implemented using 302, but yeah... For this setup it makes a lot of sense to not redirect a

Re: [cors] Redirects and preflights

2009-03-05 Thread Jonas Sicking
What about the following scenario: 1. A page on site A initiates a DELETE request to a uri on site B 2. The UA makes a preflight OPTIONS request to the uri on site B 3. The site responds and says the original DELETE request is ok 4. The UA makes the DELETE request to site B 5. The site

[cors] Redirects and preflights

2009-03-04 Thread Jonas Sicking
Hi WebApps fans! (woot) So a few issues I've run into playing around with redirects and preflighted requests. Below are some scenarios, questions and proposed answers. First of all, what should happen in the following case: 1. A page on site A makes a DELETE request to a uri on site A (no