The flow of non-Newtonian fluids through porous media