writeResponseStream