prevent unnecessary copy of the buffer during HTTP redirecting operation