Re: response status when form validation fails

2008-08-23 Thread Mike Orr
On Fri, Aug 22, 2008 at 6:43 PM, Jonathan Vanasco [EMAIL PROTECTED] wrote: I'll admit at the forefront, I'm not a fan of the extreme 'restification' of the web the way the rails evangelists and followers have pushed for, or the 'restful web services' crowd. Remember that REST is just a

Re: response status when form validation fails

2008-08-23 Thread Mike Orr
400 means general client error, so it's perfectly fine for an invalid query parameter. 200 tells the client it's OK to bookmark this URL, and messes up your access log statistics. 500 makes it look like the server is broken. Often these malformed URLs are dumb spiders or attacks, and 400 tells

Plesae do not remove pylons releases

2008-08-23 Thread Wichert Akkerman
I noticed that 0.9.7beta5 was deleted from http://pylonshq.com/download/0.9.7 and as a result several of my deployments are now broken since they were pinned to that revision and can no longer be installed now. So please: never delete a release after uploading it. I notice 0.9.7rc1 appeared

Re: response status when form validation fails

2008-08-23 Thread Wyatt Baldwin
On Aug 22, 11:58 pm, Mike Orr [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 6:43 PM, Jonathan Vanasco [EMAIL PROTECTED] wrote: I'll admit at the forefront, I'm not a fan of  the extreme 'restification' of the web the way the rails evangelists and followers have pushed for, or the

Re: Plesae do not remove pylons releases

2008-08-23 Thread Ben Bangert
On Aug 23, 2008, at 1:31 AM, Wichert Akkerman wrote: I noticed that 0.9.7beta5 was deleted from http://pylonshq.com/download/0.9.7 and as a result several of my deployments are now broken since they were pinned to that revision and can no longer be installed now. So please: never delete a

beaker 1.0+ broken on GAE

2008-08-23 Thread Josh Heitzman
I'm wondering the same thing. Just hit an issue with it's use of os.getpid no longer being conditioned on the API actually be supported as of 1.0, so its now broken on GAE. In session.py the code used to be: def _create_id(self): if hasattr(os, 'getpid'): pid =

Re: beaker 1.0+ broken on GAE

2008-08-23 Thread Josh Heitzman
GoogleNamespaceManager.__init__ is also in need of three new key word arguments: digest_filenames, log_file, data_dir On Aug 23, 2:17 pm, Josh Heitzman [EMAIL PROTECTED] wrote: I'm wondering the same thing. Just hit an issue with it's use of os.getpid no longer being conditioned on the API

Re: beaker 1.0+ broken on GAE

2008-08-23 Thread Ben Bangert
On Aug 23, 2008, at 3:11 PM, Josh Heitzman wrote: GoogleNamespaceManager.__init__ is also in need of three new key word arguments: digest_filenames, log_file, data_dir That should've been fixed in 1.0.1, are you using that? - Ben smime.p7s Description: S/MIME cryptographic signature

updating user and current controller state to template

2008-08-23 Thread subramani . santhosh
Hi all, I want to update user information and currently active controller to html template page(pylons c object). Because of this i can display user name or signin and register content to html template, also i want to update requested current controller to template to highlight the