Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of possible regions for X-AppEngine-Region

The GAE Docs on Request Headers say...

X-AppEngine-Region

Name of region from which the request originated. This value only makes sense in the context of the country in X-AppEngine-Country. For example, if the country is "US" and the region is "ca", that "ca" means "California", not Canada.

Where can I get a list of all regions that could be returned? And why does it have to return "ca" when it can just return "California"?

Thanks!

like image 310
Albert Avatar asked Apr 26 '12 04:04

Albert


1 Answers

The complete list is in ISO-3166-2 standard.
That's why it return "ca" and not 'California": this is a standard like country codes.

like image 91
greg Avatar answered Oct 15 '22 17:10

greg