It appears that os.environ['http_host'] returns the wrong answer some of the
time?

 

I was hoping to use this to detect appspot.com urls so that I could do a
"nothing to see here" error, but it appears that after being deployed to a
domain, it returns the deployed domain rather than the actual answer.

 

I am in the process of deploying the app to several domains to see what the
behavior is on each of the domains, but has anyone else run in to this?

 

-Brandon

 

 


Brandon Wirtz 
BlackWaterOps: President / Lead Mercenary 

Description: http://www.linkedin.com/img/signature/bg_slate_385x42.jpg



Work: 510-992-6548 
Toll Free: 866-400-4536 

IM: [email protected] (Google Talk) 
Skype: drakegreene 

 <http://www.blackwaterops.com> 
BlackWater Ops 


                

 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

<<image001.jpg>>

Reply via email to