Say that a continuous function $f$ is universally closed if $f \times 1_T$ is closed for all topological spaces $T$, and call a function proper if inverse images of compact sets are compact.
I know that for continuous $f$, $f$ universally closed implies $f$ proper. Exercise 3.6.14 of Ronnie Brown's Topology and Groupoids asks us to show that for continuous $f: X \to Y$, $f$ proper implies $f$ universally closed, so long as $f(X)$ is a Hausdorff $k$-space.
Does anyone know a counterexample when $f(X)$ is not a Hausdorff $k$-space, assuming that this hypothesis is necessary?