You need to maximize performance of video delivery. Which code segment should you use as the body of the GetVideoStream function in the VideoController class?
Correct Answer:
if (Request.Headers["Accept-Encoding"].Contains("gzip"))
{
return new GZipStream(System.IO.File.OpenRead(videoId),CompressionMode.Compress);
}
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Web API MCQ Questions