Simon Willison wrote:
> 
> 
> On 18 Nov 2005, at 15:26, Robert Wittams wrote:
> 
>> Hm, maybe when DEBUG is on, CommonMiddleware should put up an
>> interstitial page to tell the developer what is happening? It does  seem
>> to bite a lot of people.
> 
> 
> Alternatively, we could just have CommonMiddleware throw a deliberate 
> server error if a POST is made to a IRL that doesn't have a trailing 
> slash. That should make things abundantly clear :) POSTing to a URL 
> that CommonMiddleware wants to redirect is most definitely a bug in  an
> application, and should be treated as such. The redirect plain 
> shouldn't happen.
> 
> Cheers,
> 
> Simon
> 

Yes, I guess that would work - the number of times a successful non-GET
request can be made to these URLs must be pretty small.

Reply via email to