)]}'
{"swift/common/middleware/list_endpoints.py":[{"author":{"_account_id":9205,"name":"Gil Vernik","email":"gilv@il.ibm.com","username":"gilv"},"change_message_id":"0c7a66cdb1e9bd6a6b040ba4069892c9ced40c23","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                    \"http://10.1.1.1:6030/sda3/2/a/c3/o1\","},{"line_number":57,"context_line":"                    \"http://10.1.1.1:6040/sda4/2/a/c3/o1\"},"},{"line_number":58,"context_line":"      \"headers\": {\"X-Backend-Storage-Policy-Index\": \"0\"}}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"The \u0027/endpoints/\u0027 path is customizable (\u0027list_endpoints_path\u0027"},{"line_number":61,"context_line":"configuration parameter)."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_c00ab61f","line":59,"updated":"2014-07-23 06:47:34.000000000","message":"May be it better to clarify a bit more  here what is the response of v2 and what is the actual usage when accessing object servers. \n\nI mean, the response of /v2 is JSON -encoded... :\n{ \"endpoints\": {\"http://10.1.1.1:6010/sda1/2/a/c3/o1\",\t\n\t\t\t\"http://10.1.1.1:6030/sda3/2/a/c3/o1\",\t\n\t\t\t\"http://10.1.1.1:6040/sda4/2/a/c3/o1\"},\t\t\t\t\"headers\": {\"X-Backend-Storage-Policy-Index\": \"0\"}}\n\nThen mention that  X-Backend-Storage-Policy-Index must be used in further requests to the object servers, otherwise 404 will be returned if policy is not 0. Also  give an example, like if storage policy is 1 then :\nGET 10.1.1.1:6010/sda1/2/a/c3/o1 should contain also header \nX-Backend-Storage-Policy-Index\": \"1\"\n\nI think it\u0027s good to have this, since it was not clear to me and was explained by Samuel to me. I guess there might be others who will mistake like me.","commit_id":"98f744ce70658c132f391bc72cb7a5182baa3aaf"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"9efae8671a0d7f131092d5e955f6548a71f99457","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                    \"http://10.1.1.1:6030/sda3/2/a/c3/o1\","},{"line_number":57,"context_line":"                    \"http://10.1.1.1:6040/sda4/2/a/c3/o1\"},"},{"line_number":58,"context_line":"      \"headers\": {\"X-Backend-Storage-Policy-Index\": \"0\"}}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"The \u0027/endpoints/\u0027 path is customizable (\u0027list_endpoints_path\u0027"},{"line_number":61,"context_line":"configuration parameter)."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_43e59a08","line":59,"in_reply_to":"baada198_c00ab61f","updated":"2014-07-24 10:24:08.000000000","message":"Done","commit_id":"98f744ce70658c132f391bc72cb7a5182baa3aaf"}]}
