When the middlewares are in right order, yes, this is how it works. I will add a comment about this.