MCPcopy Create free account
hub / github.com/pallets/flask / StaticFileApp

Class StaticFileApp

tests/test_helpers.py:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 rv.close()
74
75 class StaticFileApp(flask.Flask):
76 def get_send_file_max_age(self, filename):
77 return 10
78
79 app = StaticFileApp(__name__)
80

Callers 1

test_static_fileMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_static_fileMethod · 0.68