web: serve patches as application/octet-stream
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 15 Jul 2010 20:09:46 -0400 |
parents |
96afc843f1a7
|
children |
79f123993c81
|
branches/tags |
(none) |
files |
review/web.py |
Changes
--- 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():