add copy stream default method to encode-response