Skip to content
Myr

Fixed a broekn testcase

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 7f35fc2 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/helpers.py+1 added-1 removed
514 unmodified lines
515 else:516 if file is None:517 file = open(filename, 'rb')518 mtime = os.path.getmtime(filename)519 headers['Content-Length'] = os.path.getsize(filename)519 headers['Content-Length'] = os.path.getsize(filename)520 data = wrap_file(request.environ, file)521522 rv = current_app.response_class(data, mimetype=mimetype, headers=headers,523 direct_passthrough=True)
323 unmodified lines