@warren-bank/hls-proxy 3.6.3 → 3.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hls-proxy/proxy.js +1 -0
- package/hls-proxy/utils.js +1 -1
- package/package.json +1 -1
package/hls-proxy/proxy.js
CHANGED
package/hls-proxy/utils.js
CHANGED
|
@@ -156,7 +156,7 @@ const get_request_options = function(params, url, is_m3u8, referer_url, querystr
|
|
|
156
156
|
const {copy_req_headers, req_headers, req_options, hooks, http_proxy} = params
|
|
157
157
|
|
|
158
158
|
const copied_req_headers = (copy_req_headers && inbound_req_headers && (inbound_req_headers instanceof Object))
|
|
159
|
-
? normalize_req_headers(inbound_req_headers, ['host'])
|
|
159
|
+
? normalize_req_headers(inbound_req_headers, ['host', 'accept-encoding'])
|
|
160
160
|
: null
|
|
161
161
|
|
|
162
162
|
const additional_req_options = (hooks && (hooks instanceof Object) && hooks.add_request_options && (typeof hooks.add_request_options === 'function'))
|
package/package.json
CHANGED