unosquare / embedio

A tiny, cross-platform, module based web server for .NET
http://unosquare.github.io/embedio
Other
1.45k stars 175 forks source link

When requesting a mp4 embedio is responding with identity in the content encoding header. #566

Open a-schade opened 2 years ago

a-schade commented 2 years ago

Describe the bug When requesting a mp4 embedio is responding with identity in the content encoding header.

Quoting RFC 2616, https://www.rfc-editor.org/rfc/rfc2616#section-3.5 :

identity The default (identity) encoding; the use of no transformation whatsoever. This content-coding is used only in the Accept- Encoding header, and SHOULD NOT be used in the Content-Encoding header.

To Reproduce Steps to reproduce the behavior:

  1. Request a mp4.

Expected behavior Content encoding header with identity is not set.

As browser we use COG/WPE. AFAIK all other browsers request the data as partial content (206).