The homotopy category $\mathsf{hTop}$ (topological spaces localized at the weak homotopy equivalences) doesn't have many limits / colimits, but it does have products, computed on the point-set level.
Now, on the point-set level, (compactly generated) spaces are cartesian closed. Cartesian closure in some sense only involves finite products, which are preserved in the passage to the homotopy category. So we might hope that the homotopy category has exponentials, computed on the point-set level.
However, there seems to be a problem. Consider the unit interval $I$. Then $I \times (-): \mathsf{hTop} \to \mathsf{hTop}$ is isomorphic to the identity functor. But the exponential functor $(-)^I: \mathsf{hTop} \to \mathsf{hTop}$ sends $X$ to $X^I$, which is isomorphic in $\mathsf{hTop}$ to the discrete space on the path components of $X$, since the path space of a path-connected space is contractible. These functors are clearly not adjoint -- the adjoint of the identity functor is also the identity functor. So if there is an exponential on $\mathsf{hTop}$, it is not computed at the point-set level.
But perhaps this can be salvaged? Is the homotopy category cartesian closed?
EDIT As discussed in the comments, I'm simply confusing based and unbased path spaces, which are very, very different. So most of what I wrote was wrong: the unbased path space $X^I$ is homotopy equivalent to $X$ via the "constant path map" $X \to X^I$. So $I \times(-)$ and $(-)^I$, viewed as functors on $\mathsf{hTop}$, both become isomorphic to the identity functor and hence remain adjoint. So perhaps $\mathsf{hTop}$ does indeed have a cartesian closed structure computed as at the point-set level.