Fixed error in streamResponseDoc