Merge pull request #831 from bennettmsherman/header-filters
Remove Reddit's 'Nel' and 'Report-To' (network error logging) response headers
This commit is contained in:
commit
9d948abadc
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ async fn stream(url: &str, req: &Request<Body>) -> Result<Response<Body>, String
|
||||||
rm("x-cdn-server-region");
|
rm("x-cdn-server-region");
|
||||||
rm("x-reddit-cdn");
|
rm("x-reddit-cdn");
|
||||||
rm("x-reddit-video-features");
|
rm("x-reddit-video-features");
|
||||||
|
rm("Nel");
|
||||||
|
rm("Report-To");
|
||||||
|
|
||||||
res
|
res
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue