DescriptionEnable aggregate data in fake downloader.
This patch changes fake data URL from test:/// to test:///plain/ and
adds a URL for fake aggregate data: test:///aggregate/.
Example of data at test:///plain/data/ZW:
{"name": "ZIMBABWE", "key": "ZW", "id": "data/ZW"}
Example of aggregate data at test:///aggregate/data/ZW:
{"data/ZW": {"name": "ZIMBABWE", "key": "ZW", "id": "data/ZW"}}
This behavior mimics the behavior of the server URLs
https://i18napis.appspot.com/ssl-address/data/ and
https://i18napis.appspot.com/ssl-aggregate-address/data/.
R=lararennie@google.com
Committed: https://code.google.com/p/libaddressinput/source/detail?r=231
Patch Set 1 #
Total comments: 16
Patch Set 2 : Addressed comments. #
Total comments: 4
Patch Set 3 : Fix spelling, remove obvious comments. #
MessagesTotal messages: 11
|