Skip to content
Myr

fix #2736 - allow lists to be passed through to response_class init

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

authored by Jesse Roberts · committed by David Lord · parent 9394c38 · 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/app.py+1 added-1 removed
1921 unmodified lines
19221923 status = headers = None19241925 # unpack tuple returns1926 if isinstance(rv, (tuple, list)):1926 if isinstance(rv, tuple):1927 len_rv = len(rv)19281929 # a 3-tuple is unpacked directly1930 if len_rv == 3:
377 unmodified lines