I'm trying to do something along the lines of Restful API with HTTPS and authentication
And using notes here (https://groups.google.com/forum/#!searchin/web2py/authentication/web2py/e13XC9FHR3g/DL13ikpYDbkJ) and here (https://docs.python.org/2/howto/urllib2.html)
I have come to the conclusion that pythonanywhere may not be handling the standard WSGI_authentication as expected.
For Apache you would add this to the Apache config: WSGIPassAuthorization On but PA is using nginx.
Has anyone dealt with this issue before - any suggestions or solutions?