Re: [google-appengine] Re: Current client location

2012-09-05 Thread Barry Hunter
How about sending fake ones with a browser extension? https://addons.mozilla.org/en-US/firefox/addon/modify-headers/ I would be surprised if the local SDK bothers to filter them out. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post

[google-appengine] Re: Current client location

2012-09-05 Thread Bryce Cutt
As far as I can tell the SDK does not populate these headers with any value. You can detect you are running on the dev server and handle things differently (with default values). If you need to know the location of a users IP from the dev server there are GeoIP services online that you can requ

[google-appengine] Re: Current client location

2012-09-05 Thread Kaan Soral
It was great to learn about "X-AppEngine-CityLatLong" however I guess there is no placeholder for it in the SDK? On Tuesday, September 4, 2012 11:17:20 PM UTC+3, Bryce Cutt wrote: > > It is in the request headers. See X-AppEngine-Country, X-AppEngine-Region, > X-AppEngine-City, and X-AppEngine-C

[google-appengine] Re: Current client location

2012-09-04 Thread Bryce Cutt
It is in the request headers. See X-AppEngine-Country, X-AppEngine-Region, X-AppEngine-City, and X-AppEngine-CityLatLong: https://developers.google.com/appengine/docs/python/runtime#Request_Headers https://developers.google.com/appengine/docs/java/runtime#Request_Headers On Tuesday, September 4,