Shell Script 문법 정리
Title: Bash Shell Script 문법 정리 Author: DongDongE Tags: Programming Release: 2021.02.08 [Shell
# -*- coding: utf-8 -*-
from flask import Flask, request
@app.before_first_request
def before_first_request():
print("First!!!!! ")
@app.before_request
def before_request():
print("request_5!!")
@app.after_request
def after_request(response):
print("request_10!!")
return response
@app.teardown_request
def teardown_request(exception):
print("request_15!!")
return exception
@app.teardown_appcontext
def teardown_appcontext(exception):
print("request_20!!")