Merge branch '1.0.x'
This commit is contained in:
commit
29111a3259
8 changed files with 35 additions and 65 deletions
|
|
@ -455,7 +455,7 @@ class TestSendfile(object):
|
|||
assert rv.data == f.read()
|
||||
rv.close()
|
||||
|
||||
def test_send_file_xsendfile(self, app, req_ctx, catch_deprecation_warnings):
|
||||
def test_send_file_xsendfile(self, app, req_ctx):
|
||||
app.use_x_sendfile = True
|
||||
rv = flask.send_file("static/index.html")
|
||||
assert rv.direct_passthrough
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue