Large diffs are not rendered by default.

@@ -6,8 +6,12 @@ def get_release_file(root, request):
session = DBSession()

f = ReleaseFile.by_id(session, int(request.matchdict['file_id']))
url = f.url
if url.startswith('http://pypi.python.org'):
url = 'https' + url[4:]

rv = {'id': f.id,
'url': f.url,
'url': url,
'filename': f.filename,
}
f.downloads += 1