Is there some delay built into redirects?  What I'm trying to do is this:
user goes to /index.py, index.py notices that user hasn't logged in, so redirects to login.py
login.py accepts input, then redirects back to index.py.
 
Each redirect generates what seems to be an extra request, and it takes about 2 seconds to complete the redirect.  Am I doing something wrong?
 
Chris