Preheat the oven to 350 degrees F. Spray a nine inch pie dish with cooking spray.
In a large bowl, whisk together eggs, milk, salt, pepper, pesto and flour.
Bake for 30-35 minutes or until the custard turns a golden brown along the edges and the centre is set. To check doneness, insert a knife into the centre of the quiche.