Don't add Brotli Accept-Encoding when already present
It's possible for a server to advertise brotli encoding when it isn't normally expected to. In these cases, we were previously triggering a DCHECK and potentially adding a second Brotli Accept-Encoding. This has been changed so that the Brotli Accept-Encoding is now only added when it is not already present. Bug: 879762 Change-Id: I5f9bb8eeec0cc03ee4953cd8fdf7fd7c15a92067 Reviewed-on: https://chromium-review.googlesource.com/1200386 Commit-Queue: Jered Gray <jegray@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#590031}
Showing
Please register or sign in to comment