gs_archive_server: add list_dir rpc

The list_dir RPC lists all the files available inside a specific GS
archive URL. This RPC is necessary to implement fake omaha.

TEST=Ran curl -XGET
http://localhost:<gsa_port>/<image_archive>/<board>/<version>. Full
output can be found at http://gpaste/5738938083835904.

Change-Id: I6553b345bff6b84cb74e4466ce38d52dcea8bb10
Tested-by: Sanika Kulkarni <>
Commit-Queue: Sanika Kulkarni <>
Reviewed-by: Congbin Guo <>
Auto-Submit: Sanika Kulkarni <>
1 file changed