)]}'
{"trove/common/utils.py":[{"author":{"_account_id":24791,"name":"Maciej Jozefczyk","email":"jeicam.pl@gmail.com","username":"maciej.jozefczyk"},"change_message_id":"b0c4f49ae7a13b91ab9dedcc15c16a5d5bdff16a","unresolved":false,"context_lines":[{"line_number":390,"context_line":"    \"\"\""},{"line_number":391,"context_line":"    We do a lot request logging for debug, but if the value of one"},{"line_number":392,"context_line":"    requst header is encoded in utf-8, an UnicodeEncodeError will"},{"line_number":393,"context_line":"    be raised. So we shoud carefully encode request headers."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    To be consitent with webob, main procedures are copied from"},{"line_number":396,"context_line":"    webob.Request.as_bytes."}],"source_content_type":"text/x-python","patch_set":1,"id":"7f96bb07_7e1cdb76","line":393,"range":{"start_line":393,"start_character":21,"end_line":393,"end_character":26},"updated":"2018-01-23 10:11:58.000000000","message":"s/shoud/should","commit_id":"90fa41e69e449ad18e29fc101f553dda8d2ca71f"},{"author":{"_account_id":13157,"name":"Zhao Chao","email":"zhaochao1984@gmail.com","username":"zhaochao"},"change_message_id":"afc607b07eb1001d41d82f31e131e66264209e03","unresolved":false,"context_lines":[{"line_number":390,"context_line":"    \"\"\""},{"line_number":391,"context_line":"    We do a lot request logging for debug, but if the value of one"},{"line_number":392,"context_line":"    requst header is encoded in utf-8, an UnicodeEncodeError will"},{"line_number":393,"context_line":"    be raised. So we shoud carefully encode request headers."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    To be consitent with webob, main procedures are copied from"},{"line_number":396,"context_line":"    webob.Request.as_bytes."}],"source_content_type":"text/x-python","patch_set":1,"id":"7f96bb07_f526c116","line":393,"range":{"start_line":393,"start_character":21,"end_line":393,"end_character":26},"in_reply_to":"7f96bb07_7e1cdb76","updated":"2018-01-23 12:40:58.000000000","message":"Thanks, done.","commit_id":"90fa41e69e449ad18e29fc101f553dda8d2ca71f"},{"author":{"_account_id":24791,"name":"Maciej Jozefczyk","email":"jeicam.pl@gmail.com","username":"maciej.jozefczyk"},"change_message_id":"b0c4f49ae7a13b91ab9dedcc15c16a5d5bdff16a","unresolved":false,"context_lines":[{"line_number":397,"context_line":"    \"\"\""},{"line_number":398,"context_line":"    url \u003d req.url"},{"line_number":399,"context_line":"    host \u003d req.host_url"},{"line_number":400,"context_line":"    assert url.startswith(host)"},{"line_number":401,"context_line":"    url \u003d url[len(host):]"},{"line_number":402,"context_line":"    parts \u003d [safe_encode(\u0027%s %s %s\u0027 % (req.method, url, req.http_version))]"},{"line_number":403,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f96bb07_cec45a43","line":400,"updated":"2018-01-23 10:11:58.000000000","message":"Why this assertion?","commit_id":"90fa41e69e449ad18e29fc101f553dda8d2ca71f"},{"author":{"_account_id":13157,"name":"Zhao Chao","email":"zhaochao1984@gmail.com","username":"zhaochao"},"change_message_id":"afc607b07eb1001d41d82f31e131e66264209e03","unresolved":false,"context_lines":[{"line_number":397,"context_line":"    \"\"\""},{"line_number":398,"context_line":"    url \u003d req.url"},{"line_number":399,"context_line":"    host \u003d req.host_url"},{"line_number":400,"context_line":"    assert url.startswith(host)"},{"line_number":401,"context_line":"    url \u003d url[len(host):]"},{"line_number":402,"context_line":"    parts \u003d [safe_encode(\u0027%s %s %s\u0027 % (req.method, url, req.http_version))]"},{"line_number":403,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f96bb07_15fecd37","line":400,"in_reply_to":"7f96bb07_cec45a43","updated":"2018-01-23 12:40:58.000000000","message":"This assertion comes from webob.request, I think it may be ok, so I didn\u0027t change this part.","commit_id":"90fa41e69e449ad18e29fc101f553dda8d2ca71f"}]}
