werkzeug.BaseResponse.close

BaseResponse.close()[source]

Close the wrapped response if possible. You can also use the object in a with statement which will automatically close it.

New in version 0.9: Can now be used in a with statement.