)]}'
{"ironic/api/method.py":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"8f67a80587eb12159d7391fedee65c9869be1444","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        @functools.wraps(function)"},{"line_number":83,"context_line":"        def inner_body(*args, **kwargs):"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"            data \u003d pecan.request.json"},{"line_number":86,"context_line":"            if isinstance(data, dict):"},{"line_number":87,"context_line":"                # remove any keyword arguments which pecan has"},{"line_number":88,"context_line":"                # extracted from the body"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_b53313ab","line":85,"updated":"2020-08-20 22:06:13.000000000","message":"This shouldn\u0027t attempt to parse the json if the body is empty","commit_id":"a4dde98105538d7da02108815b34ff1f695c4747"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"973a432ec3a4b80011d3181c1052ce25b9c4a40a","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"            # don\u0027t encode None for ACCEPTED responses"},{"line_number":68,"context_line":"            if result is None and pecan.response.status_code \u003d\u003d 202:"},{"line_number":69,"context_line":"                return None"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            return json.dumps(result)"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"9f560f44_f6238c56","line":69,"updated":"2020-09-25 01:13:33.000000000","message":"The content-type response header also needs to be set to None otherwise clients will attempt to parse JSON in the body","commit_id":"a083206438ebfdf60185abf3e25887dc3c43b0d4"}]}
