X-AppEngine-country Documentation

615 views
Skip to first unread message

Albert

unread,
Jun 21, 2011, 10:15:05 PM6/21/11
to Google App Engine
What format does X-AppEngine-country header return?

And what are the list of possible outcomes?

Thanks!



Albert

Albert

unread,
Jun 21, 2011, 10:20:13 PM6/21/11
to Google App Engine
Found it here!!

http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes

"All user request have an X-AppEngine-Country header which contains
the ISO-3166-1 alpha-2 country code for the user, based on the IP
address of the client request."

Albert

unread,
Jun 21, 2011, 10:22:58 PM6/21/11
to Google App Engine
So what happens if the country is unknown? What is returned? Thanks!

Brandon Wirtz

unread,
Jun 21, 2011, 11:12:37 PM6/21/11
to google-a...@googlegroups.com
It just makes one up. ;-) or you get "Error: Originating IP not terrestrial.
GAE Services not for export off World." Then you have to worry.

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


Albert

unread,
Jun 21, 2011, 11:22:43 PM6/21/11
to Google App Engine
LOL

Martin Ceperley

unread,
Jun 22, 2011, 12:38:13 AM6/22/11
to google-a...@googlegroups.com
I've been logging them today, the code ZZ is returned on unknown or internal app engine IPs, matching the ISO spec for unknown/unspecified.
Reply all
Reply to author
Forward
0 new messages