OpenStack Swift already addresses many wide range of features and solves challenges that come with storage to a great extent. However there can be users and operators with new use cases for their specific needs and would wish to have them in Swift. It is in this scenario, a middleware comes to your rescue and lets you add your own significant feature by extending Swift capabilities. Many features of swift are implemented as middlewares. It would be worthwhile to understand what they are, how they are implemented and how do they communicate with Swift.
This session gives an introduction to python wsgi middlewares, a sum-up of existing swift middlewares, and presents sample python middleware code. By the end of this, you should be able to understand how python wsgi middlewares work and how you could use this capability to implement your own feature in Swift.