We present an experimental study of the flow of a liquid foam, composed of a monolayer of millimetric bubbles, forced to invade an inhomogeneous medium at a constant flow rate. To model the simplest heterogeneous fracture medium, we use a Hele-Shaw cell consisting of two glass plates separated by a millimetric gap, with a local constriction. This single defect localized in the middle of the cell reduces locally its gap thickness, and thus its local permeability. We investigate here the influence of the geometrical property of the defect, specifically its height, on the average steady-state flow of the foam. In the frame of the flowing foam, we can observe a clear recirculation around the obstacle, characterized by a quadrupolar velocity field with a negative wake downstream the obstacle, which intensity evolves systematically with the obstacle height.