Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jebzou committed Sep 1, 2019
2 parents 899cb57 + fd01c1f commit a1576ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Browser/CefOp/RequestHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ public override CefReturnValue OnBeforeResourceLoad(IWebBrowser browserControl,
{
return CefReturnValue.Cancel;
}
// remove range request header to allow bgm caching
var headers = request.Headers;
headers.Remove("Range");
request.Headers = headers;

return base.OnBeforeResourceLoad(browserControl, browser, frame, request, callback);
}
Expand Down

0 comments on commit a1576ea

Please sign in to comment.