Apparently middleware works as response.