Sorry. Once again this had nothing to do with web2py. I'll try and be more thorough next time I post. It was the method of redirect that my redirect server was using that was causing the problem. urllib2 and pycurl both failed to handle meta redirect which is supposedly not preferred method these days. When I switched it to use a simple location redirect everything works great.
- [web2py] Redirected https is returning HTML instead of J... Larry Weinberg
- [web2py] Re: Redirected https is returning HTML ins... Massimo Di Pierro
- [web2py] Re: Redirected https is returning HTML... Larry Weinberg

