That's totally right. I'm terrible sorry about my answer, I was crazy the 
last four weeks at work, sorry, quick and bad help, no help at all, my 
fault. 

El miércoles, 17 de julio de 2019, 9:45:24 (UTC+2), Ray (a.k.a. Iceberg) 
escribió:
>
> The problem is NOT about how to setup apache to redirect http to https. I 
> am already doing that. But, in fact, it was such a redirection, combining 
> with the unfortunate fact that web2py's URL(..., scheme=True) still 
> generating "http://..."; links, causing my RESTful API to malfunction. Who 
> would know an http PUT request would lost its http body after a 
> redirection? Nonetheless, in my previous post, I already narrowed down to 
> the root cause, and asked: why URL(..., scheme=True) is currently 
> implemented as detecting wsgi_url_scheme env var, rather than simply 
> relying on the more sophisicated request.is_https?
>
> Regards,
> Ray
>
> On Tuesday, July 16, 2019 at 2:18:45 PM UTC-7, Paco Bernal wrote:
>>
>> You can always redirect apache from http to https
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7567e4ee-0834-40a0-be7a-f99f70b6b022%40googlegroups.com.

Reply via email to