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 request this information from but there is likely a cost to use them - Bryce. On Wednesday, September 5, 2012 2:27:57 AM UTC-7, Kaan Soral wrote: > > 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-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, 2012 12:20:52 PM UTC-7, Deepak Singh wrote: >>> >>> Hi, >>> >>> Is it possible to get to know the client location (city, country) of any >>> RPC call made to the server? >>> >>> I mean to say that any request header that app-engine is using to >>> identify the browser location? >>> >>> Thanks >>> Deepak Singh >>> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/s47ZviOO8xEJ. 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.
