AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://OvenMediaEngine.com/ome
GNU Affero General Public License v3.0
2.48k stars 1.05k forks source link

OME does not follow "Accept-Encoding" request header #776

Closed soukichi closed 2 years ago

soukichi commented 2 years ago

Describe the bug OME always response with "Content-Encoding: gzip" even though a client request without "Accept-Encoding: gzip" header.

To Reproduce $ curl -v http://localhost/app/live/llhls.m3u8 -H 'Accept-Encoding: identity'

Expected behavior OME should response a content without gzip compression if the request does not contain 'Accept-Encoding: gzip'.

Server (please complete the following information): using airensoft/ovenmediaengine:dev docker image Digest: sha256:24d3da56953c13f1cb6b8b46321cae31e9c9f346a41e697d3cf8be1262e3c73f

getroot commented 2 years ago

Thank you for reporting.

getroot commented 2 years ago

I solved this problem. Please check with the latest master branch.

soukichi commented 2 years ago

It works well. Thank you!