)]}'
{"swift/common/middleware/formpost.py":[{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"bef314fc77d8134290c338dbd7974f3588b31d62","unresolved":false,"context_lines":[{"line_number":402,"context_line":"                body \u003d status + \u0027\\r\\nFormPost: \u0027 + message.title()"},{"line_number":403,"context_line":"            headers \u003d [(\u0027Content-Type\u0027, \u0027text/plain\u0027),"},{"line_number":404,"context_line":"                       (\u0027Content-Length\u0027, len(body))]"},{"line_number":405,"context_line":"            headers.extend(get_cors_headers(subheaders))"},{"line_number":406,"context_line":"            return status, headers, body"},{"line_number":407,"context_line":"        status \u003d status.split(\u0027 \u0027, 1)[0]"},{"line_number":408,"context_line":"        if \u0027?\u0027 in redirect:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FzsM%3D","line":405,"updated":"2013-10-28 18:21:52.000000000","message":"Could this call to get_cors_headers and the one below at line 416 be refactored out to a line before 398, and then have the function value extend the headers in the appropriate place? It might get rid of the need to define get_cors_headers as a closure since it will only be run once.","commit_id":"cbf850a5c7d7df02f5eaab440c1d4641aa7dd11f"}]}
