It may be helpful (either here in the docstring or down below where `_StandInResource` is instantiated) to explain why a standin is needed.  It seems to me like it's a sentinel used by `process` to indicate to `write_response` that `write_response` is not responsible for any writing or request finishing.  Is that accurate?