)]}'
{"ironic_python_agent/agent.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1c221d399294073a47d259273cea26e586afb143","unresolved":true,"context_lines":[{"line_number":318,"context_line":"        # Use the original URL first, then try alternative protocols"},{"line_number":319,"context_line":"        test_urls \u003d [api_url]"},{"line_number":320,"context_line":""},{"line_number":321,"context_line":"        # If original is https, also try http; if http, also try https"},{"line_number":322,"context_line":"        if parsed.scheme \u003d\u003d \u0027https\u0027:"},{"line_number":323,"context_line":"            test_urls.append(api_url.replace(\u0027https://\u0027, \u0027http://\u0027, 1))"},{"line_number":324,"context_line":"        elif parsed.scheme \u003d\u003d \u0027http\u0027:"}],"source_content_type":"text/x-python","patch_set":1,"id":"a5ad059e_9c2cabd1","line":321,"updated":"2025-11-18 13:49:32.000000000","message":"Why? We\u0027re not going to swap protocols later on.","commit_id":"90f612821abe83f10bdc3ef0f021473f09e528a2"},{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"bf3965a06849b1fe45315415b2b24b50eb783527","unresolved":true,"context_lines":[{"line_number":318,"context_line":"        # Use the original URL first, then try alternative protocols"},{"line_number":319,"context_line":"        test_urls \u003d [api_url]"},{"line_number":320,"context_line":""},{"line_number":321,"context_line":"        # If original is https, also try http; if http, also try https"},{"line_number":322,"context_line":"        if parsed.scheme \u003d\u003d \u0027https\u0027:"},{"line_number":323,"context_line":"            test_urls.append(api_url.replace(\u0027https://\u0027, \u0027http://\u0027, 1))"},{"line_number":324,"context_line":"        elif parsed.scheme \u003d\u003d \u0027http\u0027:"}],"source_content_type":"text/x-python","patch_set":1,"id":"2502fb74_cc02ef7b","line":321,"in_reply_to":"a5ad059e_9c2cabd1","updated":"2025-11-18 14:44:53.000000000","message":"overzealousness? :)\nbut yeah, this could actually be problematic now that I think more about it, we should not guess, I will simplify the check","commit_id":"90f612821abe83f10bdc3ef0f021473f09e528a2"}]}
