Azure: Support Content-Length for media requests

Fixed in

EPiServer.CMS.Core 11.9.3

Created

Jul 31, 2018

Updated

Oct 04, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Configure Azure or Amazon blob provider.
  2. Upload a file in edit mode.
  3. While having Developer tools open, request the file.

Expected
File should have Content-Length header.

Actual
File does not have Content-Length header.

NOTE: Should be tested with both smaller images (<10k) and larger videos (>1MB) to verify Content-Length header is added in both scenarios.