)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"47ac9613f7e4bbd876bdcf96aabc7215e780022d","unresolved":false,"context_lines":[{"line_number":15,"context_line":"3. Help handling redirects"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: Ib114919c1e1361ba64fe9e8382e1a2c39dbb3271"},{"line_number":18,"context_line":"Partial-bug: 1436082"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da9b358b_8496e892","line":18,"updated":"2015-03-27 23:19:23.000000000","message":"You can also probably add \n\nFixes-Bug: https://bugs.launchpad.net/glance-store/+bug/1263067","commit_id":"2e8a02c9d8a0af531a5c4ecf5139ff113d247fe5"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"8030e7bb807bea8bb1776d0187fab8d35e216191","unresolved":false,"context_lines":[{"line_number":15,"context_line":"3. Help handling redirects"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: Ib114919c1e1361ba64fe9e8382e1a2c39dbb3271"},{"line_number":18,"context_line":"Partial-bug: 1436082"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da9b358b_b513580d","line":18,"in_reply_to":"da9b358b_8496e892","updated":"2015-03-28 02:09:22.000000000","message":"Done","commit_id":"2e8a02c9d8a0af531a5c4ecf5139ff113d247fe5"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"3a41b4d0fa4b850d5819c4c412ffa80e70a4a25b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"1. Certificate verification when using HTTPS"},{"line_number":14,"context_line":"2. Connection pooling when following redirects"},{"line_number":15,"context_line":"3. Help handling redirects"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Closes-bug: 1263067"},{"line_number":18,"context_line":"Partial-bug: 1436082"},{"line_number":19,"context_line":"Implements: blueprint http-store-on-requests"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7a5de9d1_05aaf3d4","line":16,"updated":"2016-01-27 18:23:26.000000000","message":"Do we also get (the potential of) http_proxy support?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"10a5b3688bf4161ed065a81503ae417b95389d48","unresolved":false,"context_lines":[{"line_number":13,"context_line":"1. Certificate verification when using HTTPS"},{"line_number":14,"context_line":"2. Connection pooling when following redirects"},{"line_number":15,"context_line":"3. Help handling redirects"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Closes-bug: 1263067"},{"line_number":18,"context_line":"Partial-bug: 1436082"},{"line_number":19,"context_line":"Implements: blueprint http-store-on-requests"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7a5de9d1_ea099832","line":16,"in_reply_to":"7a5de9d1_05aaf3d4","updated":"2016-01-28 01:05:15.000000000","message":"Yes, the support is added in a dependent patch https://review.openstack.org/#/c/270059/3","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"}],"glance_store/_drivers/http.py":[{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"cde5a75f43ff607b946a838b3a0bd102110c374d","unresolved":false,"context_lines":[{"line_number":163,"context_line":"            return 0"},{"line_number":164,"context_line":"        return size"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    def _query(self, location, verb, depth\u003d0):"},{"line_number":167,"context_line":"        redirects_followed \u003d 0"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"        while redirects_followed \u003c MAX_REDIRECTS:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa041b7_c18a60bf","line":166,"updated":"2015-04-03 00:51:39.000000000","message":"We no longer need \u0027depth\u0027.","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":163,"context_line":"            return 0"},{"line_number":164,"context_line":"        return size"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    def _query(self, location, verb, depth\u003d0):"},{"line_number":167,"context_line":"        redirects_followed \u003d 0"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"        while redirects_followed \u003c MAX_REDIRECTS:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_6409b031","line":166,"in_reply_to":"baa041b7_c18a60bf","updated":"2015-05-10 19:32:07.000000000","message":"Done","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"cde5a75f43ff607b946a838b3a0bd102110c374d","unresolved":false,"context_lines":[{"line_number":169,"context_line":"        while redirects_followed \u003c MAX_REDIRECTS:"},{"line_number":170,"context_line":"            loc \u003d location.store_location"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"            conn \u003d self._get_response(location, verb)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":175,"context_line":"            if conn.status_code \u003c 300:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa041b7_2c03430f","line":172,"updated":"2015-04-03 00:51:39.000000000","message":"Nit: Wouldn\u0027t it be sufficient to pass store_location object (i.e loc) to get_response ?","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":169,"context_line":"        while redirects_followed \u003c MAX_REDIRECTS:"},{"line_number":170,"context_line":"            loc \u003d location.store_location"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"            conn \u003d self._get_response(location, verb)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":175,"context_line":"            if conn.status_code \u003c 300:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_840c9443","line":172,"in_reply_to":"baa041b7_2c03430f","updated":"2015-05-10 19:32:07.000000000","message":"Done","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"cde5a75f43ff607b946a838b3a0bd102110c374d","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":211,"context_line":"        # Check for bad status codes"},{"line_number":212,"context_line":"        if conn.status_code \u003e\u003d 400:"},{"line_number":213,"context_line":"            if conn.status_code \u003d\u003d httplib.NOT_FOUND:"},{"line_number":214,"context_line":"                reason \u003d _(\"HTTP datastore could not find image at URI.\")"},{"line_number":215,"context_line":"                LOG.debug(reason)"},{"line_number":216,"context_line":"                raise exceptions.NotFound(message\u003dreason)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa041b7_cc42973e","line":213,"updated":"2015-04-03 00:51:39.000000000","message":"Nit: Can we rather use requests.codes.not_found and not import httplib ?","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":211,"context_line":"        # Check for bad status codes"},{"line_number":212,"context_line":"        if conn.status_code \u003e\u003d 400:"},{"line_number":213,"context_line":"            if conn.status_code \u003d\u003d httplib.NOT_FOUND:"},{"line_number":214,"context_line":"                reason \u003d _(\"HTTP datastore could not find image at URI.\")"},{"line_number":215,"context_line":"                LOG.debug(reason)"},{"line_number":216,"context_line":"                raise exceptions.NotFound(message\u003dreason)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_a4167853","line":213,"in_reply_to":"baa041b7_cc42973e","updated":"2015-05-10 19:32:07.000000000","message":"Done","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"9cc29bfd4ac08a5b83b115c364a00ddfe44e1d63","unresolved":false,"context_lines":[{"line_number":244,"context_line":"    def _get_response(self, location, verb):"},{"line_number":245,"context_line":"        loc \u003d location.store_location"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        if not hasattr(self, \u0027session\u0027):"},{"line_number":248,"context_line":"            self.session \u003d requests.Session()"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"da9b358b_755b342f","line":247,"updated":"2015-03-31 16:21:31.000000000","message":"What\u0027s the best practice for the `session` object? Is there a reason why you create the instance here and not in the constructor? (besides making its creation lazier)","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":244,"context_line":"    def _get_response(self, location, verb):"},{"line_number":245,"context_line":"        loc \u003d location.store_location"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        if not hasattr(self, \u0027session\u0027):"},{"line_number":248,"context_line":"            self.session \u003d requests.Session()"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_2455e81c","line":247,"in_reply_to":"da9b358b_755b342f","updated":"2015-05-10 19:32:07.000000000","message":"I didn\u0027t quite want to override the constructor since it\u0027s not present here. It seemed perfectly okay to construct it lazily so we get connection pooling for free on the first use. This is also the only function that should care about the session\u0027s existence so it seemed \"okay\" if we create it lazily here.","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"adc7e15622118b127bd563b940f1f7b74feffef4","unresolved":false,"context_lines":[{"line_number":248,"context_line":"            self.session \u003d requests.Session()"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"        try:"},{"line_number":251,"context_line":"            return self.session.request(verb, loc.get_uri(), stream\u003dTrue,"},{"line_number":252,"context_line":"                                        allow_redirects\u003dFalse)"},{"line_number":253,"context_line":"        except requests.exceptions.ConnectionError as err:"},{"line_number":254,"context_line":"            self._handle_connection_error(err)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3acd31a7_9f06b484","line":251,"updated":"2015-05-05 05:59:03.000000000","message":"Hi, I am very much interested in this patch. \nI am running into a problem where if I send https://user:pass@glance-backend-server.com/images/x.qcow2, it throws back 401 unauthorized.\n\nSimply because the older code never passed, authentication header in conn.request. \n\nNot sure this patch does that either.\nDont you need to set self.session.auth \u003d (location.user, location.password)?\n\nAlso, should 2nd argument to self.session.request be loc.get_store_uri() instead of loc.get_uri()?","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":248,"context_line":"            self.session \u003d requests.Session()"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"        try:"},{"line_number":251,"context_line":"            return self.session.request(verb, loc.get_uri(), stream\u003dTrue,"},{"line_number":252,"context_line":"                                        allow_redirects\u003dFalse)"},{"line_number":253,"context_line":"        except requests.exceptions.ConnectionError as err:"},{"line_number":254,"context_line":"            self._handle_connection_error(err)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_242cc8aa","line":251,"in_reply_to":"3acd31a7_9f06b484","updated":"2015-05-10 19:32:07.000000000","message":"No you don\u0027t need to set the auth permanently on the session to make it work. If the URI is presented to requests as https://user:pass@glance-backend-server.com/images/x.qcow2, requests will parse the user credentials out and pass them appropriately in the Authorization header.\n\nWhy do you think the second argument should be `get_store_uri` instead of `get_uri`?","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"e96964da074d91dd8c2cab069988144d9ed62a83","unresolved":false,"context_lines":[{"line_number":230,"context_line":"    def _handle_connection_error(self, error):"},{"line_number":231,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":232,"context_line":"        exc \u003d error.args[0]"},{"line_number":233,"context_line":"        if any(isinstance(e, socket.gaierror) for e in exc.args):"},{"line_number":234,"context_line":"            reason \u003d _LE(\"Remote server where the image is present \""},{"line_number":235,"context_line":"                         \"is unavailable.\")"},{"line_number":236,"context_line":"            LOG.error(reason)"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba63e191_a93dc8bc","line":233,"updated":"2016-01-19 23:54:24.000000000","message":"@sigmavirus24: I had to remove this conditional check in PS5 as the latest urllib3 made it impossible to distinguish the subclasses of socket.error. Since all socket.error\u0027s are now raised as urllib3.*.NewConnectionError.","commit_id":"d3f9debac5761b4ba00172dfb52a92391ce47d0d"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"31951fd1b2d98bac2f44db19522ee55065472c64","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    while chunk:"},{"line_number":117,"context_line":"        yield chunk"},{"line_number":118,"context_line":"        chunk \u003d response.read(size)"},{"line_number":119,"context_line":"    conn.close()"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"class Store(glance_store.driver.Store):"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_6899321f","line":119,"range":{"start_line":119,"start_character":4,"end_line":119,"end_character":8},"updated":"2016-02-09 14:32:11.000000000","message":"do we need finally here?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    while chunk:"},{"line_number":117,"context_line":"        yield chunk"},{"line_number":118,"context_line":"        chunk \u003d response.read(size)"},{"line_number":119,"context_line":"    conn.close()"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"class Store(glance_store.driver.Store):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_50e02f29","line":119,"range":{"start_line":119,"start_character":4,"end_line":119,"end_character":8},"in_reply_to":"5a5ae5dd_6899321f","updated":"2016-02-12 03:16:11.000000000","message":"Done","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cce381b931832e298e36e2c5d650be2c44f4ad92","unresolved":false,"context_lines":[{"line_number":138,"context_line":"        \"\"\""},{"line_number":139,"context_line":"        try:"},{"line_number":140,"context_line":"            conn, resp, content_length \u003d self._query(location, \u0027GET\u0027)"},{"line_number":141,"context_line":"        except requests.exceptions.ConnectionError:"},{"line_number":142,"context_line":"            reason \u003d _LE(\"Remote server where the image is present \""},{"line_number":143,"context_line":"                         \"is unavailable.\")"},{"line_number":144,"context_line":"            LOG.error(reason)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_5e2435ae","line":141,"updated":"2016-02-09 14:18:14.000000000","message":"According to this:\nhttp://docs.python-requests.org/en/master/api/?highlight\u003drequest#exceptions\nwe can face with timeout errors.\nI am wondering if we need to catch these exceptions here?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":138,"context_line":"        \"\"\""},{"line_number":139,"context_line":"        try:"},{"line_number":140,"context_line":"            conn, resp, content_length \u003d self._query(location, \u0027GET\u0027)"},{"line_number":141,"context_line":"        except requests.exceptions.ConnectionError:"},{"line_number":142,"context_line":"            reason \u003d _LE(\"Remote server where the image is present \""},{"line_number":143,"context_line":"                         \"is unavailable.\")"},{"line_number":144,"context_line":"            LOG.error(reason)"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_6d0c7841","line":141,"in_reply_to":"5a5ae5dd_5e2435ae","updated":"2016-02-12 03:16:11.000000000","message":"For porting the existing behavior, we only need to handle socket.error and raise RemoteServiceUnavailable. \n\nrequests.exceptions.ConnectionError does that perfectly :-\nhttps://github.com/kennethreitz/requests/blob/3f8b1fb617cfdd3911602b5c3e668ad30602c64d/requests/adapters.py#L425\n\nI guess ReadTimeout and any other specific errors can be handled separately. For e.g requests.exceptions.InvalidURL should actually raise a BadStoreURI. \nrequests.exceptions.ConnectTimeout will be handled by ConnectionError. \n\nis that fine ?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"b292bbfb37c4058744600c246f694794f7f5e1de","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":189,"context_line":"            if conn.status_code \u003c 300:"},{"line_number":190,"context_line":"                break"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"            self._check_store_uri(conn, loc)"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"7a5de9d1_0fb9b4e9","line":190,"updated":"2016-01-27 17:35:04.000000000","message":"Do we need to do conn.close() here as well to avoid the socket leak?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":189,"context_line":"            if conn.status_code \u003c 300:"},{"line_number":190,"context_line":"                break"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"            self._check_store_uri(conn, loc)"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_24bfc0fc","line":190,"in_reply_to":"5a5ae5dd_be8f6974","updated":"2016-02-12 03:16:11.000000000","message":"Yup, we close the conn explicitly for HEAD now.","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"3a41b4d0fa4b850d5819c4c412ffa80e70a4a25b","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":189,"context_line":"            if conn.status_code \u003c 300:"},{"line_number":190,"context_line":"                break"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"            self._check_store_uri(conn, loc)"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"7a5de9d1_e598f76c","line":190,"in_reply_to":"7a5de9d1_0fb9b4e9","updated":"2016-01-27 18:23:26.000000000","message":"Is there a socket leak with the current implementation?\n\nIf so, I wonder if:\n\n\n \"If you set stream to True when making a request, Requests  cannot release the connection back to the pool unless you  consume all the data or call Response.close.\"\n\nfrom http://docs.python-requests.org/en/latest/user/advanced/ is relevant?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cce381b931832e298e36e2c5d650be2c44f4ad92","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":189,"context_line":"            if conn.status_code \u003c 300:"},{"line_number":190,"context_line":"                break"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"            self._check_store_uri(conn, loc)"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_be8f6974","line":190,"in_reply_to":"7a5de9d1_45f8dde5","updated":"2016-02-09 14:18:14.000000000","message":"Looks like you need to close HEAD requests because I didn\u0027t find anything special:\nhttps://github.com/kennethreitz/requests/blob/master/requests/sessions.py","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"10a5b3688bf4161ed065a81503ae417b95389d48","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"            # NOTE(sigmavirus24): If it was generally successful, break early"},{"line_number":189,"context_line":"            if conn.status_code \u003c 300:"},{"line_number":190,"context_line":"                break"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"            self._check_store_uri(conn, loc)"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"7a5de9d1_45f8dde5","line":190,"in_reply_to":"7a5de9d1_e598f76c","updated":"2016-01-28 01:05:15.000000000","message":"@Erno: For the GET Request (from store.get), we close it once the data is consumed in L119. But for the HEAD request (from store.get_size), I think you are right. I wanted to check if requests handles HEAD in any special way, but github is down atm. I will check and comment later.\n\n\n@Stuart: Yeah it\u0027s relevant :)","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cce381b931832e298e36e2c5d650be2c44f4ad92","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                                              uri\u003durl,"},{"line_number":220,"context_line":"                                              image_id\u003dimage_id,"},{"line_number":221,"context_line":"                                              store_specs\u003dstore_specs)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"    def _check_store_uri(self, conn, loc):"},{"line_number":224,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":225,"context_line":"        # Check for bad status codes"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_7e5d71eb","line":222,"updated":"2016-02-09 14:18:14.000000000","message":"Should it be staticmethod or classmethod?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                                              uri\u003durl,"},{"line_number":220,"context_line":"                                              image_id\u003dimage_id,"},{"line_number":221,"context_line":"                                              store_specs\u003dstore_specs)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"    def _check_store_uri(self, conn, loc):"},{"line_number":224,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":225,"context_line":"        # Check for bad status codes"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_9b4c8d9f","line":222,"in_reply_to":"5a5ae5dd_7e5d71eb","updated":"2016-02-12 03:16:11.000000000","message":"Done","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cce381b931832e298e36e2c5d650be2c44f4ad92","unresolved":false,"context_lines":[{"line_number":235,"context_line":"            LOG.debug(reason)"},{"line_number":236,"context_line":"            raise exceptions.BadStoreUri(message\u003dreason)"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"        if conn.is_redirect and conn.status_code not in (301, 302):"},{"line_number":239,"context_line":"            reason \u003d (_(\"The HTTP URL %(url)s attempted to redirect \""},{"line_number":240,"context_line":"                        \"with an invalid %(status)s status code.\") %"},{"line_number":241,"context_line":"                      {\u0027url\u0027: loc.path, \u0027status\u0027: conn.status_code})"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_3eb3790c","line":238,"updated":"2016-02-09 14:18:14.000000000","message":"Could we replace magic numbers with requests.codes\u003d)?","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cb5029e15beb56494ba46f8678b7a9ce9291298a","unresolved":false,"context_lines":[{"line_number":235,"context_line":"            LOG.debug(reason)"},{"line_number":236,"context_line":"            raise exceptions.BadStoreUri(message\u003dreason)"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"        if conn.is_redirect and conn.status_code not in (301, 302):"},{"line_number":239,"context_line":"            reason \u003d (_(\"The HTTP URL %(url)s attempted to redirect \""},{"line_number":240,"context_line":"                        \"with an invalid %(status)s status code.\") %"},{"line_number":241,"context_line":"                      {\u0027url\u0027: loc.path, \u0027status\u0027: conn.status_code})"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_9e18df76","line":238,"in_reply_to":"3a57f1b5_e4b688db","updated":"2016-02-12 14:30:35.000000000","message":"Yep, that\u0027s optional.","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":235,"context_line":"            LOG.debug(reason)"},{"line_number":236,"context_line":"            raise exceptions.BadStoreUri(message\u003dreason)"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"        if conn.is_redirect and conn.status_code not in (301, 302):"},{"line_number":239,"context_line":"            reason \u003d (_(\"The HTTP URL %(url)s attempted to redirect \""},{"line_number":240,"context_line":"                        \"with an invalid %(status)s status code.\") %"},{"line_number":241,"context_line":"                      {\u0027url\u0027: loc.path, \u0027status\u0027: conn.status_code})"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_e4b688db","line":238,"in_reply_to":"5a5ae5dd_3eb3790c","updated":"2016-02-12 03:16:11.000000000","message":"Do you mind if we do this in a follow-up patch ? Technically, we wanted this patch to replace httplib with requests without changing the code too much. But we did switch httplib constants with request.codes like in L194.","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"889a0d022dd2902a444730dd64a517d294b19455","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    def _get_response(self, location, verb):"},{"line_number":246,"context_line":"        if not hasattr(self, \u0027session\u0027):"},{"line_number":247,"context_line":"            self.session \u003d requests.Session()"},{"line_number":248,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":249,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a5de9d1_ae363fe5","line":248,"range":{"start_line":248,"start_character":62,"end_line":248,"end_character":73},"updated":"2016-01-28 11:30:49.000000000","message":"Do we need stream\u003dTrue for calls which don\u0027t download the image data?\nWould not using stream\u003dTrue for non-download calls make sense? ie we wouldn\u0027t have to explicitly close the connection in non-download cases.","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"53f7562f9620b8400e7f2ab3f35d9464354704f6","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    def _get_response(self, location, verb):"},{"line_number":246,"context_line":"        if not hasattr(self, \u0027session\u0027):"},{"line_number":247,"context_line":"            self.session \u003d requests.Session()"},{"line_number":248,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":249,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_5b6b75f1","line":248,"range":{"start_line":248,"start_character":62,"end_line":248,"end_character":73},"in_reply_to":"5a5ae5dd_757d8fe6","updated":"2016-02-12 03:16:11.000000000","message":"As part of _query() we return the raw response which needs stream\u003dTrue. I will release the conn explicitly in the HEAD request.\nhttps://github.com/kennethreitz/requests/blob/master/requests/models.py#L552","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cce381b931832e298e36e2c5d650be2c44f4ad92","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    def _get_response(self, location, verb):"},{"line_number":246,"context_line":"        if not hasattr(self, \u0027session\u0027):"},{"line_number":247,"context_line":"            self.session \u003d requests.Session()"},{"line_number":248,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":249,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a5ae5dd_757d8fe6","line":248,"range":{"start_line":248,"start_character":62,"end_line":248,"end_character":73},"in_reply_to":"7a5de9d1_ae363fe5","updated":"2016-02-09 14:18:14.000000000","message":"Looks like HEAD needs to be closed.","commit_id":"1bd127c22837b30c9a2ce35104d36b3739e0f1e8"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"83d505cfa532dbbc7aae859e0bed6e5df0ee4f7c","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        except requests.exceptions.ConnectionError:"},{"line_number":144,"context_line":"            reason \u003d _LE(\"Remote server where the image is present \""},{"line_number":145,"context_line":"                         \"is unavailable.\")"},{"line_number":146,"context_line":"            LOG.error(reason)"},{"line_number":147,"context_line":"            raise exceptions.RemoteServiceUnavailable(message\u003dreason)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        iterator \u003d http_response_iterator(conn, resp, self.READ_CHUNKSIZE)"}],"source_content_type":"text/x-python","patch_set":10,"id":"3a57f1b5_de4ad725","line":146,"updated":"2016-02-12 14:30:28.000000000","message":"Is it possible to print exception from requests here?\nIt would be nice to have cause it saves a lot of time to our users IMO.","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"e0a0e3b40d6b51f3babb4d9ab9195d122c64a66d","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        except requests.exceptions.ConnectionError:"},{"line_number":144,"context_line":"            reason \u003d _LE(\"Remote server where the image is present \""},{"line_number":145,"context_line":"                         \"is unavailable.\")"},{"line_number":146,"context_line":"            LOG.error(reason)"},{"line_number":147,"context_line":"            raise exceptions.RemoteServiceUnavailable(message\u003dreason)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        iterator \u003d http_response_iterator(conn, resp, self.READ_CHUNKSIZE)"}],"source_content_type":"text/x-python","patch_set":10,"id":"dae33548_2e2cc049","line":146,"in_reply_to":"3a57f1b5_de4ad725","updated":"2016-02-15 10:06:30.000000000","message":"Agree, but I am not sure if it\u0027s a good idea to expose the exception trace to end users. But we should let the operators get the stack trace. I changed this to LOG.exception from LOG.error.\n\nI think we should improve this by catching more specific exceptions.","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"83d505cfa532dbbc7aae859e0bed6e5df0ee4f7c","unresolved":false,"context_lines":[{"line_number":225,"context_line":"                                              uri\u003durl,"},{"line_number":226,"context_line":"                                              image_id\u003dimage_id,"},{"line_number":227,"context_line":"                                              store_specs\u003dstore_specs)"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def _check_store_uri(self, conn, loc):"},{"line_number":230,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":231,"context_line":"        # Check for bad status codes"}],"source_content_type":"text/x-python","patch_set":10,"id":"3a57f1b5_1e7f0f67","line":228,"updated":"2016-02-12 14:30:28.000000000","message":"Still not static method\u003d)","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"e0a0e3b40d6b51f3babb4d9ab9195d122c64a66d","unresolved":false,"context_lines":[{"line_number":225,"context_line":"                                              uri\u003durl,"},{"line_number":226,"context_line":"                                              image_id\u003dimage_id,"},{"line_number":227,"context_line":"                                              store_specs\u003dstore_specs)"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def _check_store_uri(self, conn, loc):"},{"line_number":230,"context_line":"        # TODO(sigmavirus24): Make this a staticmethod"},{"line_number":231,"context_line":"        # Check for bad status codes"}],"source_content_type":"text/x-python","patch_set":10,"id":"dae33548_fbfc5c40","line":228,"in_reply_to":"3a57f1b5_1e7f0f67","updated":"2016-02-15 10:06:30.000000000","message":"Lol, I really remember fixing this, may be a parallel universe crossover happened.","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"83d505cfa532dbbc7aae859e0bed6e5df0ee4f7c","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"            reason \u003d (_(\"HTTP URL %(url)s returned a \""},{"line_number":239,"context_line":"                        \"%(status)s status code.\") %"},{"line_number":240,"context_line":"                      {\u0027url\u0027: loc.path, \u0027status\u0027: conn.status_code})"},{"line_number":241,"context_line":"            LOG.debug(reason)"},{"line_number":242,"context_line":"            raise exceptions.BadStoreUri(message\u003dreason)"},{"line_number":243,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"3a57f1b5_beccbb6a","line":240,"updated":"2016-02-12 14:30:28.000000000","message":"Do we need to add response text to debug info?\nhttp://docs.python-requests.org/en/master/api/?highlight\u003dconnection#requests.Response.text\nIMO, it would be useful but it is nice to have.","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"e0a0e3b40d6b51f3babb4d9ab9195d122c64a66d","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"            reason \u003d (_(\"HTTP URL %(url)s returned a \""},{"line_number":239,"context_line":"                        \"%(status)s status code.\") %"},{"line_number":240,"context_line":"                      {\u0027url\u0027: loc.path, \u0027status\u0027: conn.status_code})"},{"line_number":241,"context_line":"            LOG.debug(reason)"},{"line_number":242,"context_line":"            raise exceptions.BadStoreUri(message\u003dreason)"},{"line_number":243,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"dae33548_51d609c6","line":240,"in_reply_to":"3a57f1b5_beccbb6a","updated":"2016-02-15 10:06:30.000000000","message":"Done","commit_id":"dd9f34129bf16f17c0913bc511e01d4907c44f24"},{"author":{"_account_id":15168,"name":"Kirill Zaitsev","email":"k.zaitsev@me.com","username":"kzaitsev"},"change_message_id":"8a0612742132194d75ab123b63a193c7f39d519f","unresolved":false,"context_lines":[{"line_number":145,"context_line":"            LOG.exception(reason)"},{"line_number":146,"context_line":"            raise exceptions.RemoteServiceUnavailable(message\u003dreason)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        iterator \u003d http_response_iterator(conn, resp, self.READ_CHUNKSIZE)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        class ResponseIndexable(glance_store.Indexable):"},{"line_number":151,"context_line":"            def another(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"dae33548_80cf94af","line":148,"range":{"start_line":148,"start_character":8,"end_line":148,"end_character":74},"updated":"2016-02-15 11:49:26.000000000","message":"Since you\u0027re switching to requests — shouldn\u0027t you start using \n\niter_context instead of reading from raw urllib3 objects?\n\nRequests docs suggest, that you should:\nhttp://docs.python-requests.org/en/master/user/quickstart/?highlight\u003diter_content#raw-response-content\n\nhttps://github.com/kennethreitz/requests/blob/057722af23edf3f69bf7bdfed7c6c32cbe1ce2e7/requests/models.py#L645","commit_id":"2572ea1410d4cb02b65f5791681d4d8e54adc67c"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"cc364c9b43cca0c4578f163056e4c39fd5fb7261","unresolved":false,"context_lines":[{"line_number":145,"context_line":"            LOG.exception(reason)"},{"line_number":146,"context_line":"            raise exceptions.RemoteServiceUnavailable(message\u003dreason)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        iterator \u003d http_response_iterator(conn, resp, self.READ_CHUNKSIZE)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        class ResponseIndexable(glance_store.Indexable):"},{"line_number":151,"context_line":"            def another(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"dae33548_9e8f0ccc","line":148,"range":{"start_line":148,"start_character":8,"end_line":148,"end_character":74},"in_reply_to":"dae33548_80cf94af","updated":"2016-02-19 06:25:56.000000000","message":"Seems reasonable, we need to call resp.close() at the end of iteration to return connection back to connection pool.","commit_id":"2572ea1410d4cb02b65f5791681d4d8e54adc67c"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"3036337b40ff700f21dcc234098079de8a54108a","unresolved":false,"context_lines":[{"line_number":145,"context_line":"            LOG.exception(reason)"},{"line_number":146,"context_line":"            raise exceptions.RemoteServiceUnavailable(message\u003dreason)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        iterator \u003d http_response_iterator(conn, resp, self.READ_CHUNKSIZE)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        class ResponseIndexable(glance_store.Indexable):"},{"line_number":151,"context_line":"            def another(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"bae84128_79d39204","line":148,"range":{"start_line":148,"start_character":8,"end_line":148,"end_character":74},"in_reply_to":"dae33548_9e8f0ccc","updated":"2016-02-23 19:07:07.000000000","message":"*only* if we\u0027re streaming the response and not always consuming the entire thing. If we call .close() unconditionally it won\u0027t hurt but it doesn\u0027t actually get us very much unless we think we\u0027re going to have a lot of partially read streamed responses that we aren\u0027t going to finish reading.","commit_id":"2572ea1410d4cb02b65f5791681d4d8e54adc67c"}],"tests/unit/test_http_store.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"9cc29bfd4ac08a5b83b115c364a00ddfe44e1d63","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self.request.side_effect \u003d lambda w, x, y, z: None"},{"line_number":50,"context_line":"        self.addCleanup(request.stop)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def _mock_requests(self):"},{"line_number":53,"context_line":"        \"\"\"Mock requests session object."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        Should be called when we need to mock request/response objects."}],"source_content_type":"text/x-python","patch_set":2,"id":"da9b358b_75457415","line":52,"updated":"2015-03-31 16:21:31.000000000","message":"Isn\u0027t there a requests mock package somewhere? I believe I\u0027ve seen it used elsewhere. Probably glanceclient.","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fac0202650ef49ba877c230a9da58b811df9314b","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self.request.side_effect \u003d lambda w, x, y, z: None"},{"line_number":50,"context_line":"        self.addCleanup(request.stop)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def _mock_requests(self):"},{"line_number":53,"context_line":"        \"\"\"Mock requests session object."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        Should be called when we need to mock request/response objects."}],"source_content_type":"text/x-python","patch_set":2,"id":"9af37de9_e44ec095","line":52,"in_reply_to":"da9b358b_75457415","updated":"2015-05-10 19:32:07.000000000","message":"There is. I was hoping to not refactor the entire test suite though just for this change.","commit_id":"8929ecb6f2f27844b1a98c83cf3e1f07a43c6d58"}]}
