)]}'
{"glanceclient/common/http.py":[{"author":{"_account_id":6549,"name":"Zhi Yan Liu","email":"lzy.dev@gmail.com","username":"lzy-dev"},"change_message_id":"7857f1cea16ade19008a23c47cda9cc9b7c04683","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            curl.append(\u0027-d \\\u0027%s\\\u0027\u0027 % kwargs[\u0027body\u0027])"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        curl.append(\u0027%s%s\u0027 % (self.endpoint, url))"},{"line_number":153,"context_line":"        LOG.debug(strutils.safe_encode(\u0027 \u0027.join(curl)))"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"    @staticmethod"},{"line_number":156,"context_line":"    def log_http_response(resp, body\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_c44499b9","side":"PARENT","line":153,"updated":"2014-06-17 08:40:56.000000000","message":"I believe this way is straightforward, but it may make this function be useless since there is no any log output. So, what about to ignore malformed log buffer and continue without further notice for safe_encode() [0][1]? just to pass \u0027ignore\u0027 into the function by \u0027error\u0027 param, IMO.\n\n[0] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/openstack/common/strutils.py#L140\n\n[1] https://docs.python.org/2/library/codecs.html","commit_id":"2739317260c61138283f7fcdaee672baa092c2b2"}]}
