Definition. A pair $(X,A)$ of topological space $X$ and its subspace $A$ satisfies Borsuk property if for any topological space $Y$ and for any continuous map $f \colon X \to Y$ any homotopy $F_A \colon A \times I \to Y$, $F_A(x,0) = f|_A$ can be continued to homotopy $F \colon X \times I \to Y$, $F(x,0) = f$.
Theorem. If $(X,A)$ satisfies Borsuk property and $A$ is contractible then $X$ and $X/A$ are homotopy equivalent.
Proof. Let $A$ be contractible, i.e. $id_A \sim a \in A$. By Borsuk property this homotopy can be continued to homotopy $id_X \sim f$, where $f|_A = a$. Define $\varphi \colon X / A \to X$ by the rule $\varphi([x]) = f(x)$ if $x \not\in A$ and $\varphi([x]) = a$ otherwise and let $\pi \colon X \to X/A$ be a usual projection. We need to show that $\varphi \circ \pi \sim id$ and $\pi \circ \varphi \sim id$. First is easy since $\varphi \circ \pi = f \sim id$. But how to show that $\pi \circ \varphi \sim id$?