)]}'
{"horizon/middleware.py":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3c6a6e82a920006f0d422c9c9b19dc01977cb40d","unresolved":false,"context_lines":[{"line_number":167,"context_line":""},{"line_number":168,"context_line":"            return response"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        elif request.is_ajax():"},{"line_number":171,"context_line":"            return responses.JSONResponse.from_http_exception(exception)"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        # If an internal \"NotFound\" error gets this far, return a real 404."}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_0cae2781","line":170,"updated":"2015-08-28 17:22:08.000000000","message":"hm.... we currently have some other things that are ajax but not angular related: things like table polling for updates and lazy loaded tabs. would this break it?","commit_id":"ac60794c89d4e382208e9fd040f1d1516332438f"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"5ef426765fc79e55d65a81709de52b06edff0f69","unresolved":false,"context_lines":[{"line_number":167,"context_line":""},{"line_number":168,"context_line":"            return response"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        elif request.is_ajax():"},{"line_number":171,"context_line":"            return responses.JSONResponse.from_http_exception(exception)"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        # If an internal \"NotFound\" error gets this far, return a real 404."}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_216ad7ee","line":170,"updated":"2015-08-31 12:05:04.000000000","message":"shouldn\u0027t this check be the first one?","commit_id":"ac60794c89d4e382208e9fd040f1d1516332438f"},{"author":{"_account_id":9659,"name":"Matt Wood","email":"matt.wood@hpe.com","username":"woodm1979"},"change_message_id":"ae4f7b020ebd3495d4d06a93ec02c7339eea2e86","unresolved":false,"context_lines":[{"line_number":167,"context_line":""},{"line_number":168,"context_line":"            return response"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        elif request.is_ajax():"},{"line_number":171,"context_line":"            return responses.JSONResponse.from_http_exception(exception)"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        # If an internal \"NotFound\" error gets this far, return a real 404."}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_efc3a587","line":170,"in_reply_to":"da20952f_0cae2781","updated":"2015-08-28 17:37:45.000000000","message":"@Thai Tran:  I don\u0027t believe so.  If we\u0027re polling for updates or lazyloading things, then returning a more accurate 400, 405, or whatever error, instead of a 500 error shouldn\u0027t cause issues.  Also, returning the html 500 page (with inline css and all) isn\u0027t correct.  \n\nI\u0027ve tried to look at the polling and I don\u0027t see anything that relies on the 500 code, and certainly don\u0027t see anything that would need the html.","commit_id":"ac60794c89d4e382208e9fd040f1d1516332438f"}]}
