# HG changeset patch # User Steve Losh # Date 1279238986 14400 # Node ID 8f18f574990c76ea755301ce4fddd5789a059e50 # Parent 96afc843f1a71a118f93f20f55d1bd9eec372057 web: serve patches as application/octet-stream diff -r 96afc843f1a7 -r 8f18f574990c review/web.py --- a/review/web.py Wed Jul 14 20:14:59 2010 -0400 +++ b/review/web.py Thu Jul 15 20:09:46 2010 -0400 @@ -198,7 +198,7 @@ abort(404) except UnicodeEncodeError: abort(404) - return Response(result.getvalue(), content_type="text/plain") + return Response(result.getvalue(), content_type="application/octet-stream") @app.route('/pull/', methods=['POST']) def pull():