)]}'
{"swift/common/middleware/slo.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"125cf2375daa1e69610af30c7c218a3b6b3cefc9","unresolved":true,"context_lines":[{"line_number":1040,"context_line":"                    headers[\u0027Content-Length\u0027] \u003d len(body)"},{"line_number":1041,"context_line":"                headers[\u0027Content-Range\u0027] \u003d \u0027bytes */%d\u0027 % resp_attrs.slo_size"},{"line_number":1042,"context_line":"                self._response_status \u003d \u0027416 Requested Range Not Satisfiable\u0027"},{"line_number":1043,"context_line":"            elif part_num and req.method \u003d\u003d \u0027HEAD\u0027:"},{"line_number":1044,"context_line":"                resp_iter \u003d []"},{"line_number":1045,"context_line":"                headers[\u0027Content-Length\u0027] \u003d \\"},{"line_number":1046,"context_line":"                    segments[part_num - 1].get(\u0027segment_length\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"d37e0ff8_6c288e0e","line":1043,"updated":"2023-12-12 20:13:27.000000000","message":"something bugged me about having \u0027if part_num\u0027 at different indent levels in the nested if\u0027s, so I \u0027flattened\u0027 the ifs. But it is purely style so others may be equally bugged by my repetition of parts of conditions.\n\nI couldn\u0027t yet find a really elegant way to handle the various conditions around part_num and method.","commit_id":"7bca44b0993e78a93af31f5c02436be88d16df5e"}]}
