Patrick's Software Blog

How are Requests Processed in Flask?

Hand holding a pen and writing notes on a notepad.

Introduction

This blog post provides an in-depth walkthrough of how requests are processed in a Flask application.

First, the blog post walks through the key steps that happen before and after a view function is executed:

Steps Before and After a View Function is Executed in Flask

Second, the blog post discussed the callbacks that are available during different steps of the request processing sequence, as these can be beneficial for powering up your Flask application:

Callback Functions Available in Flask

The full article can be found on TestDriven.io: https://testdriven.io/blog/how-are-requests-processed-in-flask/