Our goal is to understand the topology of particular subspaces of the space of metrics on a given smooth manifold. In this talk, we show that the homotopy type of the space of metrics with positive p-curvature (a generalization of scalar curvature) is invariant under surgery in the proper codimension.