With a properly configured server you can just check request.scheme in a
predicate to determine if the request is over https.
On Mar 10, 2012 1:24 PM, "Jonathan Vanasco" <jonat...@findmeon.com> wrote:

> Hi Fabio-
>
> I do the same thing with cookies and the general setup.  I wrote a
> library last week to handle encryption ( insecure_or_secure_enough ).
>
> My concern is how to know within Pyramid if the client downstream has
> connected within http or https.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to