The *only* context I can see this being even slightly useful is where you are concerned about the unacceptably large size of the upstream server's 404 page. If this isn't your problem, I don't understand what you're trying to solve.