On Tuesday, May 30, 2017 at 2:59:58 PM UTC-7, Marlysson Silva wrote:
>
> The request.requires_https() is written on top of models file once time..
>
> And to respect of redirect .. Could you use the absolute URL .. Create 
> completly 
>
> The doc of URL() have this..
>

I went back to the model file with mixed results.  The first try, I had a 
typo that meant things were broken but I wasn't seeing the tickets right 
away.

The mixed results: 

A linux client, using libcurl, is reporting what seems to be a correct 
redirect now.  I still need to tell libcurl what to do with that. (Per 
libcurl recommendations, I'll use the rx'd URL as the new destination and 
retry the send; the option to automatically follow isn't recommended.)

A winnders client, using wininet, just keeps sending to port 80.  I'm 
trying to get tcpdump to tell me if the redirect is sent; my first attempts 
don't see it.

Changing the clients to start on port 443 works, but I want to have the 
redirs work, too.

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to