[pylons-discuss] Add header parameters in HTTPFound?

2015-01-12 Thread QLands Software
Hi, I have an application where I have a view called "Feeds" as this: @view_config(route_name='feeds', renderer='templates/feeds/list_feeds.html') def feeds_view(request): print "**" for key in request.headers.keys(): print key print "**" commonC

[pylons-discuss] pyramid session managment

2015-01-12 Thread jose
anyone have any thoughts on pyramid-kvs (https://pypi.python.org/pypi/pyramid-kvs/0.1.1) vs pyramid_redis_sessions (https://pypi.python.org/pypi/pyramid_redis_sessions/1.0a2) for session management. I know they both use redis on the back end. -- You received this message because you are subs

Re: [pylons-discuss] Add header parameters in HTTPFound?

2015-01-12 Thread Chris Rossi
Your problem is in misunderstanding HTTP. Sending an 'Authorize' header in a response, will not cause the client to resend that Authorize header in a later request. It just doesn't actually work that way. Pyramid is happy to let you send the Authorize header, it is not actually a valid HTTP head

[pylons-discuss] Re: pyramid session managment

2015-01-12 Thread Jonathan Vanasco
i've never seen pyramid-kvs before. pyramid_redis_sessions is actively discussed here, is recommended in the docs, and has contributions by at least one of the core pyramid developers. pyramid_kvs may be "better" for a variety of reasons, but i'd be more inclined to select pyramid_redis_session

[pylons-discuss] Verifying user password

2015-01-12 Thread Theron Luhn
I'm working on authorization+authentication for my webapp. The login has a "remember" feature so users don't have to log in each visit. As best practice, any sensitive features (password changing, user management, billing, etc.) should require a user to verify their password before continuing